summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-09-30 19:45:24 +0200
committermakefu <github@syntax-fehler.de>2015-09-30 19:45:24 +0200
commite1ec3ff1efabf1e8ccd2f86f1cb8da6473c7ce49 (patch)
tree0ab0f7bb37ed72a4fd88c6baec3f124c522836e2 /default.nix
parentd9f4d621bcde5ddc983a922e378657dba1f6e141 (diff)
parentac49bcab3d7776b2e17475fbaaa927b1a7d1c279 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 64c69a2f4..1c3341ba7 100644
--- a/default.nix
+++ b/default.nix
@@ -11,7 +11,8 @@ let
out =
(lib.mapAttrs (k: v: mk-namespace (./. + "/${k}"))
(lib.filterAttrs
- (k: v: !lib.hasPrefix "." k && v == "directory")
+ (k: v: !lib.hasPrefix "." k && v == "directory" &&
+ builtins.pathExists (./. + "/${k}/1systems"))
(builtins.readDir ./.)));
eval = path: import <nixpkgs/nixos/lib/eval-config.nix> {