1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

Merge pull request #14084 from obsidiansystems/issue-13247-test

Create test for Issue 13247
This commit is contained in:
John Ericson 2025-09-28 19:12:44 -04:00 committed by GitHub
commit 676e885f8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 120 additions and 0 deletions

View file

@ -1712,6 +1712,8 @@ SingleDrvOutputs DerivationBuilderImpl::registerOutputs()
/* Path already exists because CA path produced by something
else. No moving needed. */
assert(newInfo.ca);
/* Can delete our scratch copy now. */
deletePath(actualPath);
} else {
auto destPath = store.toRealPath(finalDestPath);
deletePath(destPath);