summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-23 00:28:35 +0200
committerlassulus <lassulus@lassul.us>2017-07-23 21:19:14 +0200
commit7eb1b3f8c066624e48bc389e2e7a4368642217c1 (patch)
tree67781cb72a3edbd6bd9456d038f47e53dba118d5
parent4a082bd0f1159433155aeae60641800d5400aeac (diff)
shell: add support for --pure
-rw-r--r--shell.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index 0a8d8dde2..deca2ca3a 100644
--- a/shell.nix
+++ b/shell.nix
@@ -174,7 +174,8 @@ let
in pkgs.stdenv.mkDerivation {
name = "stockholm";
shellHook = /* sh */ ''
- export NIX_PATH="stockholm=$PWD''${NIX_PATH+:$NIX_PATH}"
+ export NIX_PATH=stockholm=$PWD:nixpkgs=${toString <nixpkgs>}
+ export NIX_REMOTE=daemon
export PATH=${lib.makeBinPath [
shell.cmdspkg
]}