mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Fix flakes follow symlinks
Co-authored-by: Jan Christoph Bischko <jbischko@barracuda.com>
This commit is contained in:
parent
43a170a554
commit
453e8dc067
3 changed files with 77 additions and 1 deletions
|
@ -107,7 +107,7 @@ std::pair<FlakeRef, std::string> parsePathFlakeRefWithFragment(
|
|||
to 'baseDir'). If so, search upward to the root of the
|
||||
repo (i.e. the directory containing .git). */
|
||||
|
||||
path = absPath(path, baseDir);
|
||||
path = absPath(path, baseDir, true);
|
||||
|
||||
if (isFlake) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue