diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-09T02·19+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-09T02·19+0000 |
commit | 608a560ee80af290685e8bd96d072e86e6b08320 (patch) | |
tree | fff25b38e44e2fffe0f72b581c3b361af0074d4e /read-tree.nix | |
parent | d23716f3543c35a0b672a5b508f7e3afc39c0aa0 (diff) |
refactor(read-tree): Remove deprecated 'builtins.toPath' call r/98
Diffstat (limited to 'read-tree.nix')
-rw-r--r-- | read-tree.nix | 3 |
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; |