From 837b3d1b9618666061692daf1527ad3620dc6b2f Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 7 Apr 2025 22:14:57 +0200 Subject: [PATCH] outputs.nix: fix path handling --- outputs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.nix b/outputs.nix index b26e229..41e50d6 100644 --- a/outputs.nix +++ b/outputs.nix @@ -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 ))