summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index 78923110a..d62e43a1f 100644
--- a/default.nix
+++ b/default.nix
@@ -19,9 +19,8 @@ let stockholm = {
klib = import ./krebs/4lib { inherit lib; };
ulib = let
path = ./. + "/${current-user-name}/4lib";
- in lib.optionalAttrs
- (builtins.pathExists path && klib.dir.has-default-nix path)
- (import path { lib = lib // klib; });
+ in lib.optionalAttrs (klib.dir.has-default-nix path)
+ (import path { lib = lib // klib; });
in
builtins // lib // klib // ulib // rec {
# TODO move this stuff