summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-08-15 23:15:39 +0200
committertv <tv@krebsco.de>2017-08-15 23:15:39 +0200
commit09edff54d1a2a722db86cf0d224e66b9bdc11612 (patch)
treece912b833e3d65046cdbd1455e1b3da2c9fff6eb
parent28cc576852cf5acfc910c6b556edde6d15f40718 (diff)
shell: s@$PWD@./.@
-rw-r--r--shell.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index 6d32a6fc4..a4ccc3187 100644
--- a/shell.nix
+++ b/shell.nix
@@ -276,7 +276,7 @@ in pkgs.stdenv.mkDerivation {
name = "stockholm";
shellHook = /* sh */ ''
export OLD_PATH="$PATH"
- export NIX_PATH=stockholm=$PWD:nixpkgs=${toString <nixpkgs>}
+ export NIX_PATH=stockholm=${toString ./.}:nixpkgs=${toString <nixpkgs>}
if test -e /nix/var/nix/daemon-socket/socket; then
export NIX_REMOTE=daemon
fi