summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-29 19:25:54 +0300
committerArtturin <Artturin@artturin.com>2022-05-29 21:00:45 +0300
commit7797c7ece5f7636ea506e08f50642d7b18fd45eb (patch)
tree9d5b843e0dff2259aa5e83fb02081a4755aeaf0b
parenttreewide: change some glibc to stdenv.cc.libc (diff)
downloadnixpkgs-7797c7ece5f7636ea506e08f50642d7b18fd45eb.tar.gz
glibc_multi: match output ordering of glibc
glibc has an exception in that 'out' is the default output instead of 'bin' it should be matched here for consistency (cherry picked from commit 513b7f1010e737dcac47645c8af3d7483ddc29d4)
-rw-r--r--pkgs/development/libraries/glibc/common.nix1
-rw-r--r--pkgs/development/libraries/glibc/multi.nix3
2 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix
index 91c3d55926a3..4b58da1539d5 100644
--- a/pkgs/development/libraries/glibc/common.nix
+++ b/pkgs/development/libraries/glibc/common.nix
@@ -201,6 +201,7 @@ stdenv.mkDerivation ({
installFlags = [ "sysconfdir=$(out)/etc" ];
+ # out as the first output is an exception exclusive to glibc
outputs = [ "out" "bin" "dev" "static" ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
diff --git a/pkgs/development/libraries/glibc/multi.nix b/pkgs/development/libraries/glibc/multi.nix
index 5d3626b95cc0..be190d77c736 100644
--- a/pkgs/development/libraries/glibc/multi.nix
+++ b/pkgs/development/libraries/glibc/multi.nix
@@ -6,7 +6,8 @@ let
glibc64 = glibc;
in
runCommand "${nameVersion.name}-multi-${nameVersion.version}"
- { outputs = [ "bin" "dev" "out"]; } # TODO: no static version here (yet)
+ # out as the first output is an exception exclusive to glibc
+ { outputs = [ "out" "bin" "dev" ]; } # TODO: no static version here (yet)
''
mkdir -p "$out/lib"
ln -s '${glibc64.out}'/lib/* "$out/lib"