stockholm: bring back nspath
This commit is contained in:
parent
307e0afe85
commit
a91803319b
@ -27,9 +27,10 @@ let stockholm = {
|
|||||||
nlib = import (slib.npath "lib");
|
nlib = import (slib.npath "lib");
|
||||||
klib = import (slib.kpath "4lib") { lib = nlib; };
|
klib = import (slib.kpath "4lib") { lib = nlib; };
|
||||||
slib = rec {
|
slib = rec {
|
||||||
|
nspath = ns: p: ./. + "/${ns}/${p}";
|
||||||
npath = p: nixpkgs-path + "/${p}";
|
npath = p: nixpkgs-path + "/${p}";
|
||||||
kpath = p: ./. + "/krebs/${p}";
|
kpath = nspath "krebs";
|
||||||
upath = p: ./. + "/${current-user-name}/${p}";
|
upath = nspath current-user-name;
|
||||||
};
|
};
|
||||||
ulib = let p = slib.upath "4lib"; in
|
ulib = let p = slib.upath "4lib"; in
|
||||||
nlib.optionalAttrs (klib.dir.has-default-nix p)
|
nlib.optionalAttrs (klib.dir.has-default-nix p)
|
||||||
|
Loading…
Reference in New Issue
Block a user