summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--by-name-overlay.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/by-name-overlay.nix b/by-name-overlay.nix
index c578861..4253aa4 100644
--- a/by-name-overlay.nix
+++ b/by-name-overlay.nix
@@ -82,7 +82,7 @@ assert fileRegex == null -> fileName != null; let
       then namesForElementShard shard type
       else namesForElementDirect shard type;
 
-    # Type: String -> String -> ListOf Path
+    # Type: String -> String -> String -> ListOf Path
     mkPath = shard: name: toplevelType: let
       rawPath = baseDirectory + "/${shard}/${name}";
       paths = filterAttrs (_: v: v != null) (mapAttrs' (name: value:
@@ -91,7 +91,7 @@ assert fileRegex == null -> fileName != null; let
         else nameValuePair name null) (builtins.readDir rawPath));
 
       checkPath = pathSegment: type: let
-        path = "${rawPath}/${pathSegment}";
+        path = rawPath + "/${pathSegment}";
       in
         if builtins.pathExists path
         then