From 53b41ddf811e1e6a257dfb31cde0781178fc3c43 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Mon, 9 May 2022 12:12:20 -0400 Subject: [PATCH] Update default shell --- README.org | 6 +++--- shell.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 178036b..9a56250 100644 --- a/README.org +++ b/README.org @@ -184,17 +184,17 @@ Import this shell with ~nix-shell /etc/dotfiles/shell.nix~. with pkgs; let - nixBin = writeShellScriptBin "nix" '' + myNix = writeShellScriptBin "nix" '' exec ${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@" ''; in mkShell { buildInputs = [ git + myNix ]; shellHook = '' - export FLAKE="$(pwd)" - export PATH="$FLAKE/bin:${nixBin}/bin:$PATH" + export DOTFILES="$(pwd)" ''; } #+END_SRC diff --git a/shell.nix b/shell.nix index 3aa61b0..4dfa709 100644 --- a/shell.nix +++ b/shell.nix @@ -4,16 +4,16 @@ with pkgs; let - nixBin = writeShellScriptBin "nix" '' + myNix = writeShellScriptBin "nix" '' exec ${nixFlakes}/bin/nix --option experimental-features "nix-command flakes" "$@" ''; in mkShell { buildInputs = [ git + myNix ]; shellHook = '' - export FLAKE="$(pwd)" - export PATH="$FLAKE/bin:${nixBin}/bin:$PATH" + export DOTFILES="$(pwd)" ''; }