!9IQChSjwSHXPPWTa:lix.systems

Lix

1144 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms318 Servers

Load older messages


SenderMessageTime
13 Apr 2026
@lisanna-dettwyler:matrix.orgLisannaI might take a crack at beginning to fix this at least for nix develop, I've been doing a little bit of work on that code recently.00:25:49
@lisanna-dettwyler:matrix.orgLisannaThere're some ideas for how to fix it in https://github.com/NixOS/nix/issues/750100:26:16
@evelyn:nope.chatevelyn joined the room.03:23:12
@k900:0upti.meK900
In reply to @lisanna-dettwyler:matrix.org
I might take a crack at beginning to fix this at least for nix develop, I've been doing a little bit of work on that code recently.
This is very cross-cutting tbh
05:03:57
@k900:0upti.meK900 I think you'd have to start at nixpkgs 05:04:08
@k900:0upti.meK900 And probably structuredAttrs? 05:04:30
@blitz:chat.x86.lolblitz I almost have a prototype of attic that solves this for now by calling the Nix CLI. Will check gorgon once I have something working. One last obstacle: Is there a stable way to list the signatures of a store path without resorting to nix path-info (which has changed output formats a couple of times...) ? 07:35:48
@lisanna-dettwyler:matrix.orgLisannaOh for sure, the whole point would be to make nixpkgs do the heavy lifting here08:11:59
@blokyk:matrix.orgzoë (she/her) is there any way to see previous build logs after rebuilding a derivation? kind of like journalctl's --boot option to see previous boot logs instead of the current one. it seems like nix overwrites them now; would there be any obstacle to renaming them to foo.drv-1, foo.drv-2, etc when a new build is launched? 08:41:12
@blokyk:matrix.orgzoë (she/her) * is there any way to see previous build logs after rebuilding a derivation? kind of like journalctl's --boot option to see previous boot logs instead of the current one. it seems like current nix overwrites them; would there be any obstacle to renaming them to foo.drv-1, foo.drv-2, etc when a new build is launched? 08:41:27
@nxrth:beeper.comboop-northI did sudo -i nix upgrade-nix and now can't run commands related to nix. `nix/var/nix/profiles/default/bin exists in path09:56:08
@nxrth:beeper.comboop-north I did sudo -i nix upgrade-nix and now can't run commands related to nix. nix/var/nix/profiles/default/bin exists in path 09:56:15
@baum:sometree.devBaum(she/they) 10:08:03
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&interesting. a path can be garbage collected between the time a build gets started and the time the build runs? at least i saw that earlier today. some rust crate was complaining about its dependencies being missing and not the typical hydra complaints about some specific store paths not being present locally11:35:39
@raitobezarius:matrix.orgraitobezariusis your daemon still running?11:36:42
@blokyk:matrix.orgzoë (she/her)that sounds like a bug? on the contrary, a few months ago when i tried this (either on cppnix or lix, can't remember), it wouldn't collect/delete dependencies of running builds or open shells11:38:09
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&unfortunately due to the build having been overwritten by a retry i can’t provide logs of it happening11:38:58
@blokyk:matrix.orgzoë (she/her)or maybe i'm misunderstanding what you mean by "build started" and "build runs"11:39:04
@blokyk:matrix.orgzoë (she/her)haha exactly what i was complaining about a few messages above :^)11:39:30
@blokyk:matrix.orgzoë (she/her)* haha exactly what i was complaining about a few messages above :p11:39:42
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&https://hydra.chir.rs/build/72679#tabs-buildsteps i guess there’s this11:39:49
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @blokyk:matrix.org
that sounds like a bug? on the contrary, a few months ago when i tried this (either on cppnix or lix, can't remember), it wouldn't collect/delete dependencies of running builds or open shells
Temp roots should handle this. At least in cppnix we’ve been trying to squash those issues. Not sure Lix fixed all of those
11:40:01
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&i should probably just add hydra to the conflicts of the gc11:40:09
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&
Aborted: error: dependency '/nix/store/6nar2q94jybd9lgsa1s41zwk6q2d5il6-rustblake2-0.10.6-lib' of '/nix/store/01dqlw7c55b7icy4zx69mqvvgv50fxkm-rustlibsignal-message-backup-0.1.0.drv' does not exist, and substitution is disabled

is what i would expect to happen
11:40:23
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&the failed line above was the juicy one11:40:28
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&because that was full of errors where dependencies couldn’t be found by rustc11:40:57
@nxrth:beeper.comboop-northI just reinstalled lix. When I ran it, it was. Afterwards I'm not sure11:41:32
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&which implies at least to me that between the time the build was started and the time rustc was run the store path got deleted11:41:51
13 May 2024
@aciceri:nixos.devzrsk joined the room.13:37:30
@dariof4:matrix.orgdariof4 joined the room.14:16:05

Show newer messages


Back to Room ListRoom Version: 10