diff --git a/pkgs/stdenv/stdenv.fix b/pkgs/stdenv/stdenv.fix index 714dac98cc6..7e91efd5613 100644 --- a/pkgs/stdenv/stdenv.fix +++ b/pkgs/stdenv/stdenv.fix @@ -1 +1,4 @@ -IncludeFix("stdenv-native/stdenv.fix") +If ( HasSubstr(Platform(), "linux") + , IncludeFix("stdenv-linux/stdenv.fix") + , IncludeFix("stdenv-native/stdenv.fix") + )