1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs
Alyssa Ross 5a963f1d97 util-linux: replace "minimal" opt with more outputs
The "minimal" argument just removed some files to reduce package
size.  Now that we have multiple output derivations in Nixpkgs (we
didn't when "minimal" was added), we can just throw more outputs at
this problem and get the same effect, with the advantage that those
files are actually there, available for download without a rebuild, if
they're ever needed.

I've tested that with this change, there's no difference in the
closure size of util-linuxMinimal.bin.

We have to set SYSCONFSTATICDIR to stop $bin/bin/agetty looking in
$out for issue or issue.d.  SYSCONFSTATICDIR is supposed to be for
configuration that comes with a package, but it's currently only used
for finding an issue, and util-linux doesn't come with any issue
files, so I'm not really sure what the point is...
2021-10-11 15:15:14 +00:00
..
applications Merge staging-next into staging 2021-10-11 06:01:37 +00:00
build-support
common-updater
data
desktops
development Merge pull request #141235 from jonringer/fix-azure-packages 2021-10-11 17:04:02 +02:00
games
misc
os-specific util-linux: replace "minimal" opt with more outputs 2021-10-11 15:15:14 +00:00
pkgs-lib
servers Merge staging-next into staging 2021-10-11 12:02:07 +00:00
shells
stdenv
test
tools Merge staging-next into staging 2021-10-11 06:01:37 +00:00
top-level util-linux: replace "minimal" opt with more outputs 2021-10-11 15:15:14 +00:00