From 33708ea92233f0c814898866f4f358d9863b5aa8 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sun, 12 Jan 2025 23:00:44 +0100 Subject: [PATCH] output: remove unnecesary store copy for hosts directory --- outputs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.nix b/outputs.nix index 225823d..dd3f3ca 100644 --- a/outputs.nix +++ b/outputs.nix @@ -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