mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
stdenvAdapters: Fix condition
Fixes issue 244232
This commit is contained in:
parent
c58bd8261f
commit
cb29bc6ace
|
@ -67,7 +67,7 @@ rec {
|
|||
"--disable-shared" # brrr...
|
||||
];
|
||||
}));
|
||||
} // lib.optionalAttrs (stdenv0.hostPlatform.libc == "libc") {
|
||||
} // lib.optionalAttrs (stdenv0.hostPlatform.libc == "glibc") {
|
||||
extraBuildInputs = (old.extraBuildInputs or []) ++ [
|
||||
pkgs.glibc.static
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue