Update shell.nix to reflect recent changes

This commit is contained in:
Henrik Lissner 2021-01-24 13:05:26 -05:00
parent c805e9bedc
commit a1c46f27ce

View file

@ -3,16 +3,15 @@
with pkgs;
let nixBin =
writeShellScriptBin "nix" ''
${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@"
${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"
export FLAKE="$(pwd)"
export PATH="$FLAKE/bin:${nixBin}/bin:$PATH"
'';
}