outputs.nix: fix path handling
This commit is contained in:
parent
5bddee4588
commit
837b3d1b96
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ self = {
|
|||
( lib.filterAttrs (name: type:
|
||||
(
|
||||
(type == "regular" && lib.hasSuffix ".nix" name)
|
||||
|| (type == "directory" && builtins.pathExists "${./.}/hosts/${name}/default.nix")
|
||||
|| (type == "directory" && builtins.pathExists "${builtins.toString ./.}/hosts/${name}/default.nix")
|
||||
)
|
||||
&& !lib.hasPrefix "." name
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue