summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-09-28 18:43:56 +0200
committerlassulus <lass@aidsballs.de>2015-09-28 18:43:56 +0200
commitad5ef3947660cb3ca76b30f908621beb513903a2 (patch)
treeed68bb6a682c77a5a87e84ee4a2a7463e8cd13f6 /default.nix
parenta9f6f7ac7b8e70633164d10980d1d041f34be3ac (diff)
parentc88a7d3be5d9a8ee748cb8bdfac97de3277e0d5e (diff)
Merge branch 'tv'
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> {