1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Merge pull request #2689 from tollb/fix/delete_tmp_dir_when_build_check_ok

Delete temporary directory on successful build
This commit is contained in:
Domen Kožar 2020-04-10 09:47:57 +02:00 committed by GitHub
commit db25a6d7bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 84 additions and 2 deletions

View file

@ -1680,6 +1680,7 @@ void DerivationGoal::buildDone()
}
if (buildMode == bmCheck) {
deleteTmpDir(true);
done(BuildResult::Built);
return;
}