about summary refs log tree commit diff
path: root/read-tree.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-09T02·19+0000
committerVincent Ambo <tazjin@google.com>2019-12-09T02·19+0000
commit608a560ee80af290685e8bd96d072e86e6b08320 (patch)
treefff25b38e44e2fffe0f72b581c3b361af0074d4e /read-tree.nix
parentd23716f3543c35a0b672a5b508f7e3afc39c0aa0 (diff)
refactor(read-tree): Remove deprecated 'builtins.toPath' call r/98
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;