about summary refs log tree commit diff
path: root/read-tree.nix
diff options
context:
space:
mode:
Diffstat (limited to 'read-tree.nix')
-rw-r--r--read-tree.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/read-tree.nix b/read-tree.nix
index 6f900a0667db..72e4d0453add 100644
--- a/read-tree.nix
+++ b/read-tree.nix
@@ -13,7 +13,6 @@ let
     readDir
     split
     tail
-    toPath
     toString;
 
   attrsToList = attrs: map (name: {
@@ -24,7 +23,7 @@ let
   isFile = s: s == "regular";
   isDir = s: s == "directory";
 
-  joinPath = p: f: toPath ((toString p) + "/" + f);
+  joinPath = p: f: p + ("/" + f);
 
   isNixFile = file:
     let res = match "(.*)\.nix" file;