diff --git a/lib/path.nix b/lib/path.nix index dcd5646..fb37f11 100644 --- a/lib/path.nix +++ b/lib/path.nix @@ -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;