forked from mirrors/nixpkgs
nix: fix build on darwin machines
This commit is contained in:
parent
23881e27ef
commit
f4cc8ee5dd
|
@ -165,7 +165,8 @@ stdenv.mkDerivation {
|
|||
|
||||
makeFlags = [
|
||||
"profiledir=$(out)/etc/profile.d"
|
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "PRECOMPILE_HEADERS=0";
|
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "PRECOMPILE_HEADERS=0"
|
||||
++ lib.optional (stdenv.hostPlatform.isDarwin) "PRECOMPILE_HEADERS=1";
|
||||
|
||||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue