aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2021-05-18 16:38:55 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2021-05-18 16:38:55 -0500
commit3d90ab9345ea1379fa3aea2a26f8eaa498f3e3d0 (patch)
tree0f6476d2b95df0e4d2e6c3a9dc9b67f417517d77 /COPYING
parentbd6cf25952a42afabea822141798566e0f0583b3 (diff)
Fix extra slash in canonPath output
When you have a symlink like: /tmp -> ./private/tmp you need to resolve ./private/tmp relative to /tmp’s dir: ‘/’. Unlike any other path output by dirOf, / ends with a slash. We don’t want trailing slashes here since we will append another slash in the next comoponent, so clear s like we would if it was a symlink to an absoute path. This should fix at least part of the issue in https://github.com/NixOS/nix/issues/4822, will need confirmation that it actually fixes the problem to close though. Introduced in f3f228700a52857fe6e8632df4e935551ea219ff.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions