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