shell: add support for --pure

This commit is contained in:
tv 2017-07-23 00:28:35 +02:00
parent 854311b004
commit 4b894507b2

View File

@ -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
]}