| 31 Oct 2025 |
emily | pretty funny if this pulled GHC into the build closure of every switchable system and nobody noticed, though that sounds too good to be true | 22:31:01 |
Grimmauld (any/all) | no, that sounds about reasonable | 22:31:18 |
raboof | 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 |
emily | right | 22:31:30 |
emily | still seems good to avoid. | 22:31:46 |
emily | it's a one-liner fix | 22:31:52 |
raboof | Yeah. I thought it was used in more places though, but afk now | 22:33:04 |
Grimmauld (any/all) | looking at my musl experiments, it is literally JUST pre-switch-checks depending on ghc | 22:33:42 |
Grimmauld (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 (any/all) | i didn't check whether there might be more ghc on the way to qemu, but toplevel is what counts | 22:35:25 |
Grimmauld (any/all) | this is minimal+perlless+musl+some bashless, but it is a graphical switchable system | 22:35:58 |
Grimmauld (any/all) | * this is minimal+perlless+musl+some bash reduction, but it is a graphical switchable system | 22:36:11 |
emily | what we really want is a passthru.tests for NixOS configs | 22:37:38 |
emily | that can do all the ShellCheck stuff | 22:37:46 |
Grimmauld (any/all) | and udev checks too! | 22:38:32 |
| ElvishJerricco joined the room. | 22:46:56 |
ElvishJerricco | a default nixos config, including the ISO, already depends on ShellCheck because of nixos-firewall-tool, FYI | 22:58:59 |
Grimmauld (any/all) | not minimal tho | 22:59:46 |
ElvishJerricco | yes minimal? | 22:59:53 |
ElvishJerricco | I just checked | 22:59:58 |
Grimmauld (any/all) | HUH? | 23:00:11 |
ElvishJerricco | like shellcheck isn't in the runtime closure | 23:00:16 |
ElvishJerricco | but it's a build dep | 23:00:19 |
ElvishJerricco | because of nixos-firewall-tool, which is included in the ISO by default | 23:00:29 |
ElvishJerricco | and because of the switchChecks thing | 23:00:36 |
Grimmauld (any/all) | but nix why-depends --derivation --all should catch build deps | 23:00:43 |
ElvishJerricco | but I feel like you all seemed like you were hoping to get rid of that one | 23:00:45 |
Grimmauld (any/all) | so why do i not have it | 23:00:52 |
ElvishJerricco | that's how I checked | 23:01:00 |
ElvishJerricco | $ 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 |