stockholm: only inherit in out
This commit is contained in:
parent
b55f07e57a
commit
714a2e4922
@ -44,7 +44,7 @@ let stockholm = {
|
|||||||
# Additionally, output lib and pkgs for easy access from the shell.
|
# Additionally, output lib and pkgs for easy access from the shell.
|
||||||
# Notice how we're evaluating just the base module to obtain pkgs.
|
# Notice how we're evaluating just the base module to obtain pkgs.
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit (eval {}) pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
krebs = import ./krebs (current // { inherit lib stockholm; });
|
krebs = import ./krebs (current // { inherit lib stockholm; });
|
||||||
@ -62,6 +62,8 @@ let stockholm = {
|
|||||||
nspath = ns: p: stockholm-path + "/${ns}/${p}";
|
nspath = ns: p: stockholm-path + "/${ns}/${p}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit (eval {}) pkgs;
|
||||||
|
|
||||||
# Path resolvers for common and individual files.
|
# Path resolvers for common and individual files.
|
||||||
# Example: `upath "3modules"` produces the current user's 3modules directory
|
# Example: `upath "3modules"` produces the current user's 3modules directory
|
||||||
kpath = lib.nspath "krebs";
|
kpath = lib.nspath "krebs";
|
||||||
|
Loading…
Reference in New Issue
Block a user