mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-31 15:36:47 +02:00
Fix the outputs moving on macOS
This commit is contained in:
parent
fb37e184a5
commit
a3163b9eab
1 changed files with 2 additions and 2 deletions
|
@ -2547,8 +2547,8 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs()
|
|||
// Replace the output by a fresh copy of itself to make sure
|
||||
// that there's no stale file descriptor pointing to it
|
||||
Path tmpOutput = actualPath + ".tmp";
|
||||
renameFile(actualPath, tmpOutput);
|
||||
copyFile(tmpOutput, actualPath, true);
|
||||
copyFile(actualPath, tmpOutput, true);
|
||||
renameFile(tmpOutput, actualPath);
|
||||
|
||||
auto newInfo0 = newInfoFromCA(DerivationOutput::CAFloating {
|
||||
.method = dof.ca.method,
|
||||
|
|
Loading…
Reference in a new issue