From 832ba781efd79d06f7e2c6a0621823952a391908 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 18 Aug 2023 19:22:51 +0100 Subject: [PATCH] chore(flake.nix): add gcloud and kubectl to flake --- flake.lock | 6 +++--- flake.nix | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 437d8fa38b19a..c1218badef8b2 100644 --- a/flake.lock +++ b/flake.lock @@ -70,11 +70,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1692174805, - "narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=", + "lastModified": 1692264070, + "narHash": "sha256-WepAkIL2UcHOj7JJiaFS/vxrA9lklQHv8p+xGL+7oQ0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e", + "rev": "42c25608aa2ad4e5d3716d8d63c606063513ba33", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 65388506d554c..3a027ea6051aa 100644 --- a/flake.nix +++ b/flake.nix @@ -13,13 +13,16 @@ pkgs = nixpkgs.legacyPackages.${system}; formatter = pkgs.nixpkgs-fmt; # Check in https://search.nixos.org/packages to find new packages. - # Use `nix flake update` to update the lock file if packages are out-of-date. + # Use `nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update` + # to update the lock file if packages are out-of-date. + devShellPackages = with pkgs; [ bat cairo curl drpc.defaultPackage.${system} gcc + google-cloud-sdk getopt git gh @@ -31,6 +34,7 @@ gopls gotestsum jq + kubectl kubernetes-helm less mockgen