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
This commit is contained in:
Artturin 2022-05-29 19:25:54 +03:00
parent 5908b6d222
commit 513b7f1010
2 changed files with 3 additions and 1 deletions

View file

@ -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 ];

View file

@ -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"