aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-08-10 17:44:06 +0200
committerGitHub <noreply@github.com>2022-08-10 17:44:06 +0200
commit8f3fdef1e0cce2a5c6fc2e0740a069092f93e1da (patch)
treeb8f76de55a62f878c4d38f42cdc614d3e82c9009 /src/libstore/build
parent73fde9eed06dfdef5d37b3d798cfc98a542a4d73 (diff)
parentb47b6a418d656ee5408b7773dd9b76770ca0d2a0 (diff)
Merge pull request #6850 from NinjaTrappeur/nin/build-check
Fix Nix build --check flag
Diffstat (limited to 'src/libstore/build')
-rw-r--r--src/libstore/build/derivation-goal.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc
index 459fdae79..83da657f0 100644
--- a/src/libstore/build/derivation-goal.cc
+++ b/src/libstore/build/derivation-goal.cc
@@ -913,12 +913,6 @@ void DerivationGoal::buildDone()
outputPaths
);
- if (buildMode == bmCheck) {
- cleanupPostOutputsRegisteredModeCheck();
- done(BuildResult::Built, std::move(builtOutputs));
- return;
- }
-
cleanupPostOutputsRegisteredModeNonCheck();
/* Repeat the build if necessary. */