helm/shell.nix

19 lines
374 B
Nix
Raw 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" "$@"
'';
in mkShell {
buildInputs = [
git
gnupg
nix-zsh-completions
];
shellHook = ''
export DOTFILES="$(pwd)"
export PATH="$DOTFILES/bin:${nixBin}/bin:$PATH"
'';
}