diff --git a/pkgs/stdenv/stdenv.fix b/pkgs/stdenv/stdenv.fix index 714dac98cc60..7e91efd56131 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") + )