|
@ -184,17 +184,17 @@ Import this shell with ~nix-shell /etc/dotfiles/shell.nix~. |
|
|
with pkgs; |
|
|
with pkgs; |
|
|
|
|
|
|
|
|
let |
|
|
let |
|
|
nixBin = writeShellScriptBin "nix" '' |
|
|
|
|
|
|
|
|
myNix = writeShellScriptBin "nix" '' |
|
|
exec ${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@" |
|
|
exec ${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@" |
|
|
''; |
|
|
''; |
|
|
|
|
|
|
|
|
in mkShell { |
|
|
in mkShell { |
|
|
buildInputs = [ |
|
|
buildInputs = [ |
|
|
git |
|
|
git |
|
|
|
|
|
myNix |
|
|
]; |
|
|
]; |
|
|
shellHook = '' |
|
|
shellHook = '' |
|
|
export FLAKE="$(pwd)" |
|
|
|
|
|
export PATH="$FLAKE/bin:${nixBin}/bin:$PATH" |
|
|
|
|
|
|
|
|
export DOTFILES="$(pwd)" |
|
|
''; |
|
|
''; |
|
|
} |
|
|
} |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|