Commit Graph

3 Commits

Author SHA1 Message Date
Victor Hugo Borja
be1d3742e8 google-cloud-sdk: Fix default component arches
When a google-cloud-sdk component does not specify architectures
on components.json we should fallback to all supported arches.

Previously there was a bug where `allArches` were incorrectly
taken from the `attrValues arches` (nixOS architectures) instead of
the GCS ones using `attrNames arches`.

Also added arm to the list of supported architectures. No changes
needed on components.json since it looks urls and hashes were already
there.

Co-authored-by: Fabián Heredia Montiel <fabianhjr@protonmail.com>
2022-09-29 12:35:25 -05:00
Xavier Lambein
48d8b7fe41 google-cloud-sdk: simplify toNixPlatform implementation
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2022-08-22 12:29:51 +02:00
Xavier Lambein
95a77857ef google-cloud-sdk: add support for components
This commit adds a set of Google Cloud SDK components in
`pkgs.google-cloud-sdk.components` which can be installed along with
the SDK through `pkgs.google-cloud-sdk.withExtraComponents [ ... ]`.
2022-08-21 23:53:00 +02:00