diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/readTree/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/readTree/default.nix b/nix/readTree/default.nix index 4faf20d9e5c0..9793310eeda0 100644 --- a/nix/readTree/default.nix +++ b/nix/readTree/default.nix @@ -17,9 +17,9 @@ let readDir substring; - argsWithPath = parts: args // { - locatedAt = parts; - }; + argsWithPath = parts: + let meta.locatedAt = parts; + in meta // (if isAttrs args then args else args meta); readDirVisible = path: let |