Update shell.nix to reflect recent changes
This commit is contained in:
parent
c805e9bedc
commit
a1c46f27ce
|
@ -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"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue