output: remove unnecesary store copy for hosts directory
This commit is contained in:
parent
bb3c272119
commit
33708ea922
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ self = {
|
|||
( # regular .nix files
|
||||
(type == "regular" && lib.hasSuffix ".nix" name)
|
||||
|| # directories that contain a default.nix file
|
||||
(type == "directory" && builtins.pathExists "${./hosts}/${name}/default.nix")
|
||||
(type == "directory" && builtins.pathExists "${./.}/hosts/${name}/default.nix")
|
||||
)
|
||||
# filter out files that start with .
|
||||
&& !lib.hasPrefix "." name
|
||||
|
|
Loading…
Reference in a new issue