!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

524 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30118 Servers

Load older messages


SenderMessageTime
31 Oct 2025
@emilazy:matrix.orgemilypretty funny if this pulled GHC into the build closure of every switchable system and nobody noticed, though that sounds too good to be true22:31:01
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)no, that sounds about reasonable22:31:18
@raboof:matrix.orgraboof
In reply to @emilazy:matrix.org
how much would that shrink the minimal ISO?
Afaics not, it's just a build-time dependency right?
22:31:24
@emilazy:matrix.orgemilyright22:31:30
@emilazy:matrix.orgemilystill seems good to avoid.22:31:46
@emilazy:matrix.orgemilyit's a one-liner fix22:31:52
@raboof:matrix.orgraboofYeah. I thought it was used in more places though, but afk now22:33:04
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)looking at my musl experiments, it is literally JUST pre-switch-checks depending on ghc22:33:42
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) https://termbin.com/hala
nix why-depends --derivation --all .#nixosConfigurations.grimm-musl.config.system.build.toplevel .#nixosConfigurations.grimm-musl.pkgs.ghc
22:34:41
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i didn't check whether there might be more ghc on the way to qemu, but toplevel is what counts22:35:25
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)this is minimal+perlless+musl+some bashless, but it is a graphical switchable system22:35:58
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)* this is minimal+perlless+musl+some bash reduction, but it is a graphical switchable system22:36:11
@emilazy:matrix.orgemily what we really want is a passthru.tests for NixOS configs 22:37:38
@emilazy:matrix.orgemilythat can do all the ShellCheck stuff22:37:46
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)and udev checks too!22:38:32
@elvishjerricco:matrix.orgElvishJerricco joined the room.22:46:56
@elvishjerricco:matrix.orgElvishJerricco a default nixos config, including the ISO, already depends on ShellCheck because of nixos-firewall-tool, FYI 22:58:59
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)not minimal tho22:59:46
@elvishjerricco:matrix.orgElvishJerriccoyes minimal?22:59:53
@elvishjerricco:matrix.orgElvishJerriccoI just checked22:59:58
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)HUH?23:00:11
@elvishjerricco:matrix.orgElvishJerriccolike shellcheck isn't in the runtime closure23:00:16
@elvishjerricco:matrix.orgElvishJerriccobut it's a build dep23:00:19
@elvishjerricco:matrix.orgElvishJerricco because of nixos-firewall-tool, which is included in the ISO by default 23:00:29
@elvishjerricco:matrix.orgElvishJerriccoand because of the switchChecks thing23:00:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) but nix why-depends --derivation --all should catch build deps 23:00:43
@elvishjerricco:matrix.orgElvishJerriccobut I feel like you all seemed like you were hoping to get rid of that one23:00:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)so why do i not have it23:00:52
@elvishjerricco:matrix.orgElvishJerriccothat's how I checked23:01:00
@elvishjerricco:matrix.orgElvishJerricco
$ nix why-depends --all --derivation /nix/store/khbsc32pf6symcds7b0h6f5q5gcb9sw3-nixos-system-nixos-25.11pre-git /nix/store/njgb6m19ahgd8nky23v9rrms2m795a36-ShellCheck-0.11.0.drv
/nix/store/80sf1wyzqdx5skwx0xk45kx4g5m6grxm-nixos-system-nixos-25.11pre-git.drv
├───/nix/store/q644d4sgqfm7svxar9nv291nsgmxb583-pre-switch-checks.drv
│   └───/nix/store/njgb6m19ahgd8nky23v9rrms2m795a36-ShellCheck-0.11.0.drv
├───/nix/store/ixbr9d7cxl5g6sj93ksllafxg8mig4p8-system-path.drv
│   └───/nix/store/50da2pns6ds235ch37d67dzg9xg6yghq-nixos-firewall-tool.drv
│       └───/nix/store/njgb6m19ahgd8nky23v9rrms2m795a36-ShellCheck-0.11.0.drv
└───/nix/store/2wp8n0yprgpfs71frcznx8ghrsg660wg-etc.drv
    ├───/nix/store/ixbr9d7cxl5g6sj93ksllafxg8mig4p8-system-path.drv
    ├───/nix/store/483q7k25qd0nl4iq8fiwzx4ifn06jn2d-dbus-1.drv
    │   └───/nix/store/ixbr9d7cxl5g6sj93ksllafxg8mig4p8-system-path.drv
    ├───/nix/store/nvh1ra4bxflzfrxj8179s9dv9ii21kkv-system-units.drv
    │   ├───/nix/store/6rd11hxqp6ij4llwy25amqmq8yj0vlnv-unit-polkit.service.drv
    │   │   └───/nix/store/n8g98j67ghaybphdr408hd70qhkfcvy8-X-Restart-Triggers-polkit.drv
    │   │       └───/nix/store/ixbr9d7cxl5g6sj93ksllafxg8mig4p8-system-path.drv
    │   └───/nix/store/h5py00d9vcm8vrl6kwi094krrsq5d976-unit-dbus.service.drv
    │       └───/nix/store/3x9csa17m616bbs2gfai00wwbs7453d9-X-Restart-Triggers-dbus.drv
    │           └───/nix/store/483q7k25qd0nl4iq8fiwzx4ifn06jn2d-dbus-1.drv
    └───/nix/store/brnmqxs3583vbq5hygsfyz3irihrgwr6-user-units.drv
        └───/nix/store/g97scs6yiqpdkd0d7aisc0pm4pz7ryr5-unit-dbus.service.drv
            └───/nix/store/3x9csa17m616bbs2gfai00wwbs7453d9-X-Restart-Triggers-dbus.drv
23:01:53

Show newer messages


Back to Room ListRoom Version: 6