!9IQChSjwSHXPPWTa:lix.systems

Lix

704 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-rooms216 Servers

Load older messages


SenderMessageTime
9 Nov 2024
@rvdp:infosec.exchangeRamses 🇵🇸
In reply to @acidbong:envs.net
what version and did you install it from source or from nixpkgs?
I'm building from main. I update more or less daily, but this process might have been running for a while. The last time I rebooted was a week ago, so it must be running a commit from the last week on main
08:48:52
@rvdp:infosec.exchangeRamses 🇵🇸This is on NixOS08:49:52
@aidalgol:matrix.orgaidalgol
In reply to @sigmasquadron:matrix.org
i like nixd
This is really good. Thanks for the recommendation.
19:45:58
@benjamin:computer.surgeryolivia is this situation a bug?

1. I bump the flake lockfile in repo A
2. I update flake.nix in repo B to point to local repo A (with a bumped lockfile) instead of remote
3. trying to build things in repo B uses the old versions of transitive dependencies through repo A rather than the new ones
4. nix flake update B in repo A fixes it
22:50:54
@benjamin:computer.surgeryolivia (I'm not using inputs.A.follows in B) 22:53:31
@benjamin:computer.surgeryolivia is this situation a bug?

1. I bump the flake lockfile in repo A
2. I update flake.nix in repo B to point to local repo A (with a bumped lockfile) instead of remote
3. trying to build things in repo B uses the old versions of transitive dependencies through repo A rather than the new ones
4. nix flake update A in repo B fixes it
22:53:38
@aidalgol:matrix.orgaidalgolAre you committing after step 1?22:57:56
@benjamin:computer.surgeryoliviayes22:58:19
@aidalgol:matrix.orgaidalgol I think nix flake update A fixes it because updating the input in repo B's flake.nix will only bump the rev for that input, but the locked transitive dependencies will be left unchanged. 23:00:51
@benjamin:computer.surgeryolivia
In reply to@aidalgol:matrix.org
I think nix flake update A fixes it because updating the input in repo B's flake.nix will only bump the rev for that input, but the locked transitive dependencies will be left unchanged.
yeah, that is what appeared to happen
23:01:09
@aidalgol:matrix.orgaidalgol I'm not sure whether that's a bug or by design. Heck, I'm not sure anyone knows what's by design in flakes at this stage. :P 23:01:15
@benjamin:computer.surgeryolivialol23:01:20
@benjamin:computer.surgeryoliviayeah I asked because wasn't sure whether this was by design :(23:02:19
@benjamin:computer.surgeryolivia(or, at least, part of the de facto stable external interface at this point)23:02:45
@benjamin:computer.surgeryolivia I also have vague memories of bumping rev and having it bump the transitive deps in the local lockfile automatically in the past, but could be misremembering 23:03:41
@kfears:matrix.orgKFears (annoying)I think it is part of the stable interface, yeah :( IIRC there are some issues in CppNix repo that have been up for a really long time about that, but I might be misremembering, better check by yourself23:04:09
@benjamin:computer.surgeryoliviahttps://github.com/NixOS/nix/issues/8976 looks like this23:05:35
@benjamin:computer.surgeryoliviathat issue has at least not been closed yet23:06:47
@benjamin:computer.surgeryolivia oh and a corresponding lix isssue and CL :) 23:08:36
@benjamin:computer.surgeryoliviahmm... the CL is merged though23:09:00
@kfears:matrix.orgKFears (annoying)There's this: https://github.com/NixOS/nix/pull/8977 https://github.com/NixOS/nix/issues/8976 And this: https://github.com/NixOS/nix/pull/9173 https://github.com/NixOS/nix/issues/914323:10:33
@benjamin:computer.surgeryoliviaoh nvm I missed that the CL is just a workaround for lix's CI or similar23:10:42
@kfears:matrix.orgKFears (annoying)I'm trying to understand what's the difference between those, hmmm23:10:44
@kfears:matrix.orgKFears (annoying) Ah, okay, the first seems to be the issue you're hitting, and the second is some weird special case with inputs.foo.inputs.bar.url 23:15:27
@benjamin:computer.surgeryoliviathat's my understanding as well23:16:13
@kfears:matrix.orgKFears (annoying)I'll see if I'm able to fix this23:16:16
@kfears:matrix.orgKFears (annoying) I'm a little hesitant if that should be fixed, because that's part of the flake quasi-stable interface, but it should be fine? The part that experiences issues is CLI, and it's thankfully a lot less design-tied than other things 23:17:39
@kfears:matrix.orgKFears (annoying)And not updating transitive inputs is probably a lot more broken than doing it :/23:18:08
@benjamin:computer.surgeryoliviaI cannot imagine a situation where the current behavior would be desirable23:18:21
@aidalgol:matrix.orgaidalgolIt's certainly very confusing.23:18:28

Show newer messages


Back to Room ListRoom Version: 10