Skip to content

Commit

Permalink
feat: Add Nix support
Browse files Browse the repository at this point in the history
Creates symlinks to the relevant executables in the Nix store, for
integration with IDEs and other tools.
  • Loading branch information
l0b0 committed May 8, 2024
1 parent 60973ec commit 8fa43fb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ dist/
cdk.out/
cdk.context.json
build/
/helm
/kubectl
/node
21 changes: 21 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
let
pkgs = import (
builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/d934204a0f8d9198e1e4515dd6fec76a139c87f0.tar.gz";
sha256 = "1zfby2jsfkag275aibp81bx1g1cc305qbcy94gqw0g6zki70k1lx";
}
) {};
in
pkgs.mkShell {
packages = [
pkgs.argo
pkgs.awscli2
pkgs.bashInteractive
pkgs.kubectl
pkgs.kubernetes-helm
pkgs.nodejs
];
shellHook = ''
ln --force --symbolic "${pkgs.kubernetes-helm}/bin/helm" "${pkgs.kubectl}/bin/kubectl" "${pkgs.nodejs}/bin/node" .
'';
}

0 comments on commit 8fa43fb

Please sign in to comment.