summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-11-09 02:58:21 +0100
committertv <tv@krebsco.de>2015-11-09 02:58:21 +0100
commitb0094ce0e498b9661de62e472121aaaf5b83c40d (patch)
treec0f8ae81d47d31f2adb83dd8edb91e64a6ee06e7 /default.nix
parentfa48986f3f1358fea0af9bbfe908032ae50c0034 (diff)
stockholm: check if default.nix exists before importing
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index ac748c286..c001b8c13 100644
--- a/default.nix
+++ b/default.nix
@@ -32,7 +32,7 @@ let stockholm = {
upath = lib.nspath current-user-name;
base-module = { config, ... }: {
- imports = builtins.filter builtins.pathExists (lib.concatLists [
+ imports = builtins.filter lib.dir.has-default-nix (lib.concatLists [
(map (f: f "2configs") [ upath ])
(map (f: f "3modules") [ kpath upath ])
]);