We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb494f commit 8e05ddfCopy full SHA for 8e05ddf
src/libflake/flake/flake.cc
@@ -783,7 +783,7 @@ LockedFlake lockFlake(
783
auto relPath = (topRef.subdir == "" ? "" : topRef.subdir + "/") + "flake.lock";
784
auto outputLockFilePath = *sourcePath / relPath;
785
786
- bool lockFileExists = std::filesystem::exists(outputLockFilePath);
+ bool lockFileExists = fs::symlink_exists(outputLockFilePath);
787
788
auto s = chomp(diff);
789
if (lockFileExists) {
0 commit comments