!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

976 Members
For people hacking on the Nix package manager itself208 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Apr 2025
@mschwaig:matrix.orgMartin Schwaighofer

Why do I see this difference between the builders of the same unresolved and resolved content-addressed derivation? 🤔

diff /nix/store/q2nzjyqf4w19w3mgbkn34k2as5hrvwh1-builder.sh /nix/store/ckzrg0f0bdyx8rf703nc61r3hz5yys9q-builder.sh
22c22
<     printf '%s ' "${propagatedUserEnvPkgs[@]}" > $out/nix-support/propagated-user-env-packages
---
>     printf '%s ' $propagatedUserEnvPkgs > $out/nix-support/propagated-user-env-packages
13:10:54
@roberthensing:matrix.orgRobert Hensing (roberth) I haven't found time to look into this properly, whether this is a bug or a missing feature, or both. The main constraint for closureInfo etc, is that the info needs to be reproducible, so for example no signatures or other mutable store metadata. ca:fixed: seems like something that should be possible to include 14:08:20
@roberthensing:matrix.orgRobert Hensing (roberth) The --load-db format has come up before. It is entirely forward-incompatible, so we may need to introduce any additions as a new format 14:09:42
@p14:matrix.orgp14
In reply to @roberthensing:matrix.org
The --load-db format has come up before. It is entirely forward-incompatible, so we may need to introduce any additions as a new format
Glancing at the load db there are signs the signature is there; is it just not being imported properly, I wonder 🤔
14:39:37
@Ericson2314:matrix.orgJohn Ericson emily ElvishJerricco OK we discussed a bunch and we're liking the sort of compromise you all proposed 20:30:03
@Ericson2314:matrix.orgJohn Ericson 2.28 in 25.05 has Mic92's combo build (or something like it) 20:30:27
@Ericson2314:matrix.orgJohn Ericson2.28 after 25.05 is componentized20:30:36
@Ericson2314:matrix.orgJohn Ericson2.29 in all branches has componentized (2.29 is very unimportant on 25.05 except for new version dogfooders)20:31:03
@Ericson2314:matrix.orgJohn EricsonAlso when we re-introduce nix git, we should use the componentized version for that20:32:23
@Ericson2314:matrix.orgJohn Ericsonhow does that sound?20:32:27
@Ericson2314:matrix.orgJohn Ericson I would like to merge Robert Hensing (roberth)'s open PR right away, for sake of the newer versions and git, and also because I like how it makes a package set for the dependencies, even with the monolithic package for Nix itself 20:33:19
@Ericson2314:matrix.orgJohn EricsonAlso, since you two (and others) have such strong opinions about this, it would be great if you signed yourselves up as maintainers in Nixpkgs for this :D20:35:00
@Ericson2314:matrix.orgJohn Ericson especially because, as ElvishJerricco mentioned, actually the mkMesonPackage stuff and whatnot really ought to not be Nix-specific, but reused for other things like (potentially) systemd 20:35:32
@emilazy:matrix.orgemily SGTM, especially if we can get a componentized-compatible overrides interface for patching/build flags/env.NIX_CFLAGS_COMPILE on the monolithic one 20:40:43
@emilazy:matrix.orgemilysorry, I definitely do not have the time and do not feel I understand the packaging well enough to :(20:41:03

Show newer messages


Back to Room ListRoom Version: 6