Reminder to port the tests
This commit is contained in:
parent
b5594318e5
commit
02c007b372
1 changed files with 3 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ let
|
|||
# absolutePathComponentsBetween /a /a/b/c == ["b" "c"]
|
||||
# absolutePathComponentsBetween /a/b/c /a/b/c == []
|
||||
absolutePathComponentsBetween =
|
||||
# TODO: port the tests from https://github.com/NixOS/nixpkgs/pull/112083
|
||||
ancestor: descendant:
|
||||
let
|
||||
a' = /. + ancestor;
|
||||
|
|
@ -43,6 +44,8 @@ let
|
|||
# Filesystem location below which the returned function is defined. `/.` may be acceptable, but a path closer to the data of interest is better.
|
||||
root:
|
||||
|
||||
# TODO: port the tests from https://github.com/NixOS/nixpkgs/pull/112083
|
||||
|
||||
let
|
||||
makeTree = dir: type: {
|
||||
value = f dir type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue