helm/shell.nix
2020-12-20 20:16:00 -05:00

19 lines
374 B
Nix

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