!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

410 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.136 Servers

Load older messages


SenderMessageTime
20 Nov 2025
@edef1c:matrix.orgedefanything NIX_PATH-y should probably be explicitly passed in, rather than being grabbed from env by default23:55:46
@edef1c:matrix.orgedeflike, objcap-y pure-by-default rather than "here's a flag to turn off the default impure behaviour"23:56:17
21 Nov 2025
@raitobezarius:matrix.orgraitobezariusDoing that properly would require rewrapping a bunch of impure calls and rewiring an objcap system, I want to get there01:01:43
@raitobezarius:matrix.orgraitobezariusBut that's mostly orthogonal to how Flakes processes the search path entries01:02:12
@raitobezarius:matrix.orgraitobezariusUnfortunately Nix path (env) is a colon separated list of URIs01:02:39
@raitobezarius:matrix.orgraitobezariusTherefore schemes needs to be registered to allow parsing01:02:59
@uep:matrix.orguephttps://mastodon.social/@bagder/11558453696296307007:51:58
@uep:matrix.orguepthey're collecting "known risks" when using curl, perhaps some suggestions from here07:52:31
@helle:tacobelllabs.nethelle (just a stray cat girl) raitobezarius at one point afaik you tossed me a command to try and run if my downloads hung again, can you throw that again 11:43:08
@helle:tacobelllabs.nethelle (just a stray cat girl)got that issue again11:43:12
@helle:tacobelllabs.nethelle (just a stray cat girl)or anyone else?11:53:11
@helle:tacobelllabs.nethelle (just a stray cat girl)

with strace -fys9999 -p 170632 we get the following output

strace: Process 170632 attached with 19 threads
[pid 170650] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...>
[pid 170649] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...>
[pid 170648] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170647] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170646] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170645] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170644] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170643] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170642] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170641] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170640] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170639] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170638] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170637] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170636] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170635] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170634] futex(0x7f815aaca744, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 571, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 170633] rt_sigtimedwait([HUP INT PIPE TERM WINCH] <unfinished ...>
[pid 170632] epoll_wait(3<anon_inode:[eventpoll]>

so not super useful......

11:58:14
16 May 2024
@aciceri:nixos.devzrsk joined the room.13:54:49
@samrose:matrix.orgsamrose
In reply to @lunaphied:lunaphied.me
I think there were a few CLs on the Gerrit but nothing being actively worked
The other thing that I could do if it helps is test things and try to find bugs. I did do some C++ work in the past, but may lack the time to do it justice here at least for about 30 days or so
15:55:29
@qyriad:katesiria.orgQyriadwe are not in any rush 🙂17:20:53
@samrose:matrix.orgsamroseWould it help to also test out the existing Lix code and try to find issues/bugs etc?17:23:21
@qyriad:katesiria.orgQyriadabsolutely17:23:41
@samrose:matrix.orgsamrose
  • how do people feel about the existing test suite that comes along with nix source code or Lix?
17:23:48
@qyriad:katesiria.orgQyriadit's pitiful17:24:10
@samrose:matrix.orgsamroseheh 17:24:16
@raitobezarius:matrix.orgraitobezariusexpanding it is cool17:24:23
@raitobezarius:matrix.orgraitobezariuswriting new tests for builtins which are not tested17:24:30
@raitobezarius:matrix.orgraitobezariusnew test behaviors, etc.17:24:32
@qyriad:katesiria.orgQyriad we have three flavors of test:
  1. gtest (offer only available in libexpr and libutil)

  2. bash script

  3. virtual machine


the vast, vast majority of testing is in the "bash script" flavor and it is a mess
17:25:01
@samrose:matrix.orgsamroseI was just going to ask on the "functional" tests: do we still like using bash there?17:25:56
@samrose:matrix.orgsamrosethe last time that I worked on a major nix related cli project that used bash, or bats for testing, over time it became rather kind of hard to maintain17:26:42
@samrose:matrix.orgsamroseI am not usually a big python fan, but in that project we heard from some in the Rust community that they actually use Python to test CLI and seem to have success there. 17:27:59
@qyriad:katesiria.orgQyriadno gods please kill bash testing. the problem is that it's kind of really difficult to migrate an entire test suite and be sure that you actually migrated the test suite correctly and won't lose coverage accidentally in the process, which makes any kind of migration a bit nerve wracking17:28:36
@samrose:matrix.orgsamroseyes it's a rather large undertaking17:28:52
@samrose:matrix.orgsamrosecould be done in chunks17:28:59

Show newer messages


Back to Room ListRoom Version: 10