refactor(read-tree): Remove deprecated 'builtins.toPath' call

This commit is contained in:
Vincent Ambo 2019-12-09 02:19:44 +00:00
parent d23716f354
commit 608a560ee8

View file

@ -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;