1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 07:31:00 +01:00

Revert "Fix hard linking issue causing overlay fs copy-ups"

This reverts commit 9ef0a9e8aa.

Master now has a better solution.
This commit is contained in:
John Ericson 2023-10-25 14:20:40 -04:00
parent 5c1cb0b696
commit 6f0a95897c
4 changed files with 3 additions and 28 deletions

View file

@ -268,14 +268,6 @@ std::pair<bool, StorePathSet> LocalOverlayStore::verifyAllValidPaths(RepairFlag
}
Path LocalOverlayStore::toRealPathForHardLink(const StorePath & path)
{
return lowerStore->isValidPath(path)
? lowerStore->Store::toRealPath(path)
: Store::toRealPath(path);
}
void LocalOverlayStore::remountIfNecessary()
{
if (!_remountRequired) return;