aboutsummaryrefslogtreecommitdiff
path: root/src/nix/why-depends.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-09-01 00:19:49 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-09-01 00:19:49 +0200
commit475a0a54a9c28c311f0c05d129bb165e7c215efb (patch)
treea373d4add698a11ffd33cb35ca4cdec1a5760bb7 /src/nix/why-depends.cc
parentb7409c57544997e6c31a05b5ca024e752cb1a35d (diff)
fetchGit/fetchMercurial: Don't absolutize paths
This is already done by coerceToString(), provided that the argument is a path (e.g. 'fetchGit ./bla'). It fixes the handling of URLs like git@github.com:owner/repo.git. It breaks 'fetchGit "./bla"', but that was never intended to work anyway and is inconsistent with other builtin functions (e.g. 'readFile "./bla"' fails).
Diffstat (limited to 'src/nix/why-depends.cc')
0 files changed, 0 insertions, 0 deletions