stockholm: check harder if user lib exists
This commit is contained in:
parent
e5f1bdea02
commit
9cfc10a1ec
@ -19,7 +19,8 @@ let stockholm = {
|
|||||||
klib = import ./krebs/4lib { inherit lib; };
|
klib = import ./krebs/4lib { inherit lib; };
|
||||||
ulib = let
|
ulib = let
|
||||||
path = ./. + "/${current-user-name}/4lib";
|
path = ./. + "/${current-user-name}/4lib";
|
||||||
in lib.optionalAttrs (klib.dir.has-default-nix path)
|
in lib.optionalAttrs
|
||||||
|
(builtins.pathExists path && klib.dir.has-default-nix path)
|
||||||
(import path { lib = lib // klib; });
|
(import path { lib = lib // klib; });
|
||||||
in
|
in
|
||||||
builtins // lib // klib // ulib // rec {
|
builtins // lib // klib // ulib // rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user