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