google-cloud-sdk: components system -> stdenv.hostPlatform.system

This commit is contained in:
Ryan Yin
2025-11-13 20:19:30 +08:00
parent 9b4e3efe3a
commit bb228f3929
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchurl,
system,
snapshotPath,
autoPatchelfHook,
python3,
@@ -125,7 +124,7 @@ let
};
# Filter out dependencies not supported by current system
filterForSystem = builtins.filter (drv: builtins.elem system drv.meta.platforms);
filterForSystem = builtins.filter (drv: lib.meta.availableOn stdenv.hostPlatform drv);
# Make a google-cloud-sdk component
mkComponent =