1
0
Fork 0
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:
Steve Walker 2025-01-17 22:17:39 +08:00 committed by Jörg Thalheim
parent 43a170a554
commit 453e8dc067
3 changed files with 77 additions and 1 deletions

View file

@ -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) {