refactor(read-tree): Remove deprecated 'builtins.toPath' call
This commit is contained in:
parent
d23716f354
commit
608a560ee8
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue