Skip to content

Commit 4de7de4

Browse files
authored
fix(flake.nix): add gcloud auth plugin (#9215)
1 parent 7404ee9 commit 4de7de4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@
1616
# Use `nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update`
1717
# to update the lock file if packages are out-of-date.
1818

19+
# From https://nixos.wiki/wiki/Google_Cloud_SDK
20+
gdk = pkgs.google-cloud-sdk.withExtraComponents ([pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin]);
21+
1922
devShellPackages = with pkgs; [
2023
bat
2124
cairo
2225
curl
2326
drpc.defaultPackage.${system}
2427
gcc
25-
google-cloud-sdk
28+
gdk
2629
getopt
2730
git
2831
gh

0 commit comments

Comments
 (0)