Only use autoPatchelfHook on !darwin
This commit is contained in:
parent
2f1680b11b
commit
0d89212969
10
default.nix
10
default.nix
|
@ -64,7 +64,10 @@ rec {
|
||||||
inherit platform arch targets;
|
inherit platform arch targets;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ which cmake autoPatchelfHook ];
|
nativeBuildInputs =
|
||||||
|
[ which cmake ]
|
||||||
|
++ lib.optional (!stdenv.isDarwin) autoPatchelfHook
|
||||||
|
;
|
||||||
|
|
||||||
buildInputs = [ stdenv.cc.cc python3 ];
|
buildInputs = [ stdenv.cc.cc python3 ];
|
||||||
|
|
||||||
|
@ -123,7 +126,10 @@ rec {
|
||||||
|
|
||||||
src = fetchSDKFile "hosttools_${platform}-${arch}.tar.xz";
|
src = fetchSDKFile "hosttools_${platform}-${arch}.tar.xz";
|
||||||
|
|
||||||
nativeBuildInputs = [ which autoPatchelfHook ];
|
nativeBuildInputs =
|
||||||
|
[ which ]
|
||||||
|
++ lib.optional (!stdenv.isDarwin) autoPatchelfHook
|
||||||
|
;
|
||||||
|
|
||||||
buildInputs = [ python3 ];
|
buildInputs = [ python3 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue