1
0
Fork 1
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:
Artturin 2023-07-19 22:56:18 +03:00
parent c58bd8261f
commit cb29bc6ace

View file

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