Commit Graph

161 Commits

Author SHA1 Message Date
h7x4
bdc42f289e
google-cloud-sdk: remove bundled python (#344957) 2024-10-01 01:06:19 +02:00
Terje Larsen
c0f95a993b
google-cloud-sdk: 492.0.0 -> 494.0.0 2024-09-29 13:44:37 +02:00
Gary Guo
6474ec11bc google-cloud-sdk: remove bundled python
It seems that the bundled python location has changed. This reduces
~500M size.
2024-09-27 22:52:34 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Terje Larsen
8f175c4bf3
google-cloud-sdk: 485.0.0 -> 492.0.0 2024-09-15 16:15:00 +02:00
Luka Blaskovic
2710653e55 google-cloud-sdk: suppress warnings introduced by python 3.12 2024-08-24 06:13:30 +00:00
Terje Larsen
199a8f8548
google-cloud-sdk: 483.0.0 -> 485.0.0 2024-07-29 11:06:30 +02:00
Terje Larsen
06b93088f4
google-cloud-sdk: fish completions 2024-07-13 22:35:20 +02:00
Terje Larsen
f12a2d61c9
google-cloud-sdk: 478.0.0 -> 483.0.0 2024-07-08 14:16:57 +02:00
Elliot Cameron
05d09a6da3 google-cloud-sdk/components: use fetchurl instead of builtins.fetchurl
These URLs don't need to be fetched at evaluation time. This change speeds up evaluation considerably for these components and allows them to be used in Hydra.
2024-06-25 15:34:02 -04:00
Terje Larsen
d005b6bae8
google-cloud-sdk: 475.0.0 -> 478.0.0 2024-06-04 13:26:39 +02:00
Terje Larsen
0ba179286e
google-cloud-sdk: 467.0.0 -> 475.0.0 2024-05-14 10:32:19 +02:00
Marcus Ramberg
94e32ff953
Merge pull request #297933 from terlar/google-cloud-sdk-with-components-reduced-closure-size
google-cloud-sdk: reduce closure size when using extra components
2024-05-13 18:39:49 +02:00
Ray Foss
b35f5e47dc
google-cloud-sdk-gce: Clarify which package you should use 2024-05-13 08:29:39 -05:00
Terje Larsen
bdf0c96d38
google-cloud-sdk: reduce closure size when using extra components 2024-05-13 12:03:48 +02:00
Marcus Ramberg
711b534c41
Merge pull request #301986 from mrene/google-cloud-sdk/fix-storage-signurl
google-cloud-sdk: fix gcloud storage sign-url error due to missing pyopenssl dependency
2024-05-12 08:40:41 +02:00
Marcus Ramberg
6ce4620d2d google-cloud-sdk: Add marcusramberg to maintainers 2024-04-30 08:37:14 +02:00
Marcus Ramberg
509e68feae google-cloud-sdk: Fix warnings during build step 2024-04-30 08:35:34 +02:00
Marcus Ramberg
8d4191df38 google-cloud-sdk: Remove bundled python to reduce size 2024-04-11 21:48:45 +02:00
Mathieu Rene
d737eafb56 google-cloud-sdk: fix gcloud storage sign-url error due to missing pyopenssl dependency 2024-04-05 22:19:33 -04:00
Moe K
04e6aee11d
google-cloud-sdk: 452.0.1 -> 467.0.0
Updating the google-cloud-sdk nixpkg from version 452.0.1 to 467.0.0
Google released google-cloud-sdk version 467.0.0 on March-05-2024
2024-03-09 06:51:09 +00:00
Nick Novitski
68baab123f
google-cloud-sdk: remove original package from extra-components closures (#266579)
This is a difference of ~444 megabytes.
2023-11-15 11:27:27 +01:00
Djabx
015739d7bf
google-cloud-sdk: 446.0.1 -> 452.0.1 (#264589) 2023-11-06 16:26:55 +01:00
Nathan Viets
52547eb55c google-cloud-sdk: 433.0.1 -> 446.0.1 2023-09-15 17:03:45 -05:00
figsoda
fdd31f980e pkgs/tools/admin: remove dead code
with the help of deadnix & nil
2023-07-25 09:54:32 -04:00
Mrinal Purohit
3b0e48a74c google-cloud-sdk: 426.0.0 -> 433.0.1 2023-06-06 15:00:16 +02:00
Sandro Jäckel
00000001b4
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to lib.importJSON ./file.json #2 2023-05-06 16:20:13 +02:00
Nick Novitski
1ead2ab094
google-cloud-sdk: add passthru.updateScript (#222631) 2023-04-23 01:25:46 +02:00
Yurii Matsiuk
c24b4a4839
google-cloud-sdk: 424.0.0 -> 426.0.0 2023-04-18 17:30:44 +02:00
Sandro
41b15f5c12
Merge pull request #223763 from ymatsiuk/ymatsiuk/google-cloud-sdk
google-cloud-sdk: 408.0.1 -> 424.0.0
2023-04-18 16:15:59 +02:00
JR Boyens
458306a751
google-cloud-sdk: add libxcrypt-legacy 2023-03-29 21:09:31 -07:00
Yurii Matsiuk
4f3687cd3d
google-cloud-sdk: 408.0.1 -> 424.0.0 2023-03-29 17:21:30 +02:00
Morgan Helton
16f1759737 google-cloud-sdk: only use autoPatchelf on Linux 2023-03-03 09:08:43 -06:00
Yorick
7785526659
Merge pull request #215526 from xlambein/xlambein/google-cloud-sdk-autopatchelf
google-cloud-sdk: add autoPatchElf to components
2023-02-28 10:21:12 +01:00
Xavier Lambein
251f64f1d0 google-cloud-sdk: add autoPatchElf to components 2023-02-28 09:50:54 +01:00
Felix Buehler
cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
Felix Buehler
f400af6df1 google-cloud-sdk: deprecate phases 2023-01-12 22:43:45 +01:00
Djabx
32abeeae5f
google-cloud-sdk: add numpy dependency for IAP performances. (#206105)
For more information see:
https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
2022-12-27 14:21:53 +01:00
Mrinal Purohit
ea062f45ec google-cloud-sdk: 405.0.0 -> 408.0.1 2022-11-06 10:41:08 +05:30
Mrinal Purohit
c83582e449 google-cloud-sdk: 404.0.0 -> 405.0.0 2022-10-09 18:34:05 +05:30
Sandro
a822e3f204
Merge pull request #193554 from deal-engine/fix-google-cloud-sdk-components-default-arches 2022-10-08 12:16:49 +02:00
Mrinal Purohit
fc15a9638f google-cloud-sdk: 400.0.0 -> 404.0.0 2022-10-02 00:07:53 +05:30
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
Mrinal Purohit
8949a6c91e google-cloud-sdk: 397.0.0 -> 400.0.0 2022-08-31 02:22:51 +05:30
Xavier Lambein
1d3dbb45f2 google-cloud-sdk: add components.json to the repository 2022-08-22 12:33:40 +02: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
Mrinal Purohit
52539e410c google-cloud-sdk: 387.0.0 -> 397.0.0 2022-08-15 13:18:13 +05:30
Robert Scott
61c35da607 treewide/servers,tools: add sourceType binaryNativeCode for many packages 2022-06-16 20:21:42 +01:00
Mrinal Purohit
0f1871de00 google-cloud-sdk: 385.0.0 -> 387.0.0 2022-05-26 14:31:01 +05:30