From 4b894507b2fef23e68097bd2b758acf151ab7993 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 23 Jul 2017 00:28:35 +0200 Subject: [PATCH] shell: add support for --pure --- shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } + export NIX_REMOTE=daemon export PATH=${lib.makeBinPath [ shell.cmdspkg ]}