google-cloud-sdk: only use autoPatchelf on Linux

This commit is contained in:
Morgan Helton 2023-03-03 09:08:43 -06:00
parent a08d6979dd
commit 16f1759737

View file

@ -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;