1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 10:21:47 +02:00

Fix libflake build on mingw

This commit is contained in:
Eelco Dolstra 2025-01-20 15:50:04 +01:00
parent a78f55ef97
commit 89e5047e12

View file

@ -783,7 +783,7 @@ LockedFlake lockFlake(
auto relPath = (topRef.subdir == "" ? "" : topRef.subdir + "/") + "flake.lock";
auto outputLockFilePath = *sourcePath / relPath;
bool lockFileExists = pathExists(outputLockFilePath);
bool lockFileExists = std::filesystem::exists(outputLockFilePath);
auto s = chomp(diff);
if (lockFileExists) {