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... "--disable-shared" # brrr...
]; ];
})); }));
} // lib.optionalAttrs (stdenv0.hostPlatform.libc == "libc") { } // lib.optionalAttrs (stdenv0.hostPlatform.libc == "glibc") {
extraBuildInputs = (old.extraBuildInputs or []) ++ [ extraBuildInputs = (old.extraBuildInputs or []) ++ [
pkgs.glibc.static pkgs.glibc.static
]; ];