Merge pull request #193554 from deal-engine/fix-google-cloud-sdk-components-default-arches

This commit is contained in:
Sandro 2022-10-08 12:16:49 +02:00 committed by GitHub
commit a822e3f204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ let
arches = {
x86 = "i686";
x86_64 = "x86_64";
# TODO arm
arm = "aarch64";
};
# Mapping from GCS component operating systems to Nix operating systems
@ -30,8 +30,8 @@ let
in
"${arch'}-${os'}";
# All architectures that are supported
allArches = builtins.attrValues arches;
# All architectures that are supported by GCS
allArches = builtins.attrNames arches;
# A description of all available google-cloud-sdk components.
# It's a JSON file with a list of components, along with some metadata