diff options
author | Linus Heckemann <git@sphalerite.org> | 2023-05-22 19:53:52 +0200 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2023-06-12 10:26:52 +0200 |
commit | 4d649f2b63d6ab5be258cbdc60998ed3a80d98b5 (patch) | |
tree | 904b132967cf924dc9cccbd4361c3d3309c55cff /pkgs/development/libraries/glibc/default.nix | |
parent | 4e036dd92e90f04272208ff7d01330dc8582c0e8 (diff) |
glibc: split getent into its own output
Many dependents only require getent and not all the locale generation tools that are included in the `bin` output. This can save some closure size!
Diffstat (limited to 'pkgs/development/libraries/glibc/default.nix')
-rw-r--r-- | pkgs/development/libraries/glibc/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glibc/default.nix b/pkgs/development/libraries/glibc/default.nix index 1c0c1b09e1542..0f6cad157bb78 100644 --- a/pkgs/development/libraries/glibc/default.nix +++ b/pkgs/development/libraries/glibc/default.nix @@ -94,7 +94,7 @@ in "user-defined-trusted-dirs=${stdenv.cc.cc.libgcc}/lib" ]; - postInstall = (if stdenv.hostPlatform == stdenv.buildPlatform then '' + postInstall = previousAttrs.postInstall + (if stdenv.hostPlatform == stdenv.buildPlatform then '' echo SUPPORTED-LOCALES=C.UTF-8/UTF-8 > ../glibc-2*/localedata/SUPPORTED make -j''${NIX_BUILD_CORES:-1} localedata/install-locales '' else lib.optionalString stdenv.buildPlatform.isLinux '' |