!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

408 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
@qyriad:katesiria.orgQyriad well there's #pragma warning, but for anything more complex you'll have to write a clang-tidy lint. luckily there are already clang-tidy lints in the codebase you can look at 16:10:09
@just1602:systemli.orgjust1602 I'll try #pragma warning, it's just for a one off. It's we print a deprecation warning at runtime, and eldritch horrors want a compile time warning when we hit the version we target for the removal 16:12:30
@just1602:systemli.orgjust1602 Qyriad: ok, #pragma message seems to do what I was looking for, #pragma warning was just giving an error that warning wasn't a valid pragma instead of displaying the text 16:18:24
@just1602:systemli.orgjust1602 Now I just need to know that is the value format of LIX_MAJOR to be able to do # if LIX_MAJOR >= 2.96 ? :D 16:18:59
@just1602:systemli.orgjust1602Is it 2_96, 296, some other format?16:19:23
@qyriad:katesiria.orgQyriad LIX_MAJOR is 2, LIX_MINOR is 96 16:37:43
@just1602:systemli.orgjust1602Ugh, ahahha, thanks and sorry for bothering I fill bad about this one 😅17:54:39
@Ericson2314:matrix.orgJohn EricsonOK I guess I did not announce this very clearly :)20:01:00
@Ericson2314:matrix.orgJohn Ericson (Sergei Zimmerman (xokdvium): informed me that at least raitobezarius did not know about our similar work to extricate flakes from the rest of the code base) 20:02:14
@Ericson2314:matrix.orgJohn Ericson * (Sergei Zimmerman (xokdvium): informed me that at least raitobezarius did not know about our similar work to extricate flakes from the rest of the code base, until Sergei Zimmerman (xokdvium) told him) 20:02:30
@Ericson2314:matrix.orgJohn Ericsonmy apopologise for not making that linked message about less opaque20:02:42
@Ericson2314:matrix.orgJohn EricsonI wanted you all to take my libexpr -> libflakes separation long ago :)20:02:57
@Ericson2314:matrix.orgJohn Ericson* OK I guess I did not announce this very clearly :(, whops!20:05:39
@just1602:systemli.orgjust1602I'm really not great at C++, but I'd be really interested to see this libexpr -> libflakes project20:52:03
@raitobezarius:matrix.orgraitobezariusThank you for the suggestion but we probably won't take it, it doesn't achieve what we want21:11:27
@raitobezarius:matrix.orgraitobezarius It's not really the important piece of the Flakes extraction project, just moving code around and exposing APIs to register certain operations that are related to Flakes in the evaluation machinery (mostly around NIX_PATH) 21:12:24
@raitobezarius:matrix.orgraitobezariusI have a tree that already finished that part, more difficult parts involves libcmd and generalizing installables21:12:49
@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
@raitobezarius:matrix.orgraitobezarius
In reply to @helle:tacobelllabs.net
got that issue again
2.94.0?
12:58:29

Show newer messages


Back to Room ListRoom Version: 10