mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
google-cloud-sdk: only use autoPatchelf on Linux
This commit is contained in:
parent
a08d6979dd
commit
16f1759737
|
@ -162,9 +162,10 @@ let
|
|||
cp $snapshotPath $out/google-cloud-sdk/.install/${pname}.snapshot.json
|
||||
'';
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
python3
|
||||
stdenv.cc.cc
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
autoPatchelfHook
|
||||
];
|
||||
passthru = {
|
||||
dependencies = filterForSystem dependencies;
|
||||
|
|
Loading…
Reference in a new issue