helm/shell.nix

18 lines
356 B
Nix
Raw Permalink Normal View History

2020-12-20 17:09:09 -08:00
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let nixBin =
writeShellScriptBin "nix" ''
${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@"
2020-12-20 17:09:09 -08:00
'';
in mkShell {
buildInputs = [
git
nix-zsh-completions
];
shellHook = ''
export FLAKE="$(pwd)"
export PATH="$FLAKE/bin:${nixBin}/bin:$PATH"
2020-12-20 17:09:09 -08:00
'';
}