stockholm: only inherit in out

This commit is contained in:
tv 2015-10-21 22:29:35 +02:00
parent b55f07e57a
commit 714a2e4922
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,7 @@ let stockholm = {
# Additionally, output lib and pkgs for easy access from the shell.
# Notice how we're evaluating just the base module to obtain pkgs.
inherit lib;
inherit (eval {}) pkgs;
inherit pkgs;
};
krebs = import ./krebs (current // { inherit lib stockholm; });
@ -62,6 +62,8 @@ let stockholm = {
nspath = ns: p: stockholm-path + "/${ns}/${p}";
};
inherit (eval {}) pkgs;
# Path resolvers for common and individual files.
# Example: `upath "3modules"` produces the current user's 3modules directory
kpath = lib.nspath "krebs";