aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-12-12 17:39:02 +0100
committerGitHub <noreply@github.com>2022-12-12 17:39:02 +0100
commite408af82ab71d870f854efe417abf1400567e1f1 (patch)
treedda278b6d109f7c1d53af8ab0a7ca1feb3bc2582 /src
parenta642b1030188f7538ef6243cd7fd1404419a6933 (diff)
parente86530ee46cc3ccb7ea137889f0d04cf9061664f (diff)
Merge pull request #7436 from edolstra/enable-lang-tests
Enable some language tests that were accidentally disabled
Diffstat (limited to 'src')
-rw-r--r--src/nix-store/nix-store.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 96e265f9e..3bbefedbe 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -812,10 +812,13 @@ static void opServe(Strings opFlags, Strings opArgs)
if (nrRepeats != 0) {
throw Error("client requested repeating builds, but this is not currently implemented");
}
- // Ignore. It used to be true by default, but also only never had any effect when `nrRepeats == 0`.
- // We have already asserted that `nrRepeats` in fact is 0, so we can safely ignore this without
- // doing something other than what the client asked for.
- auto _enforceDeterminism = readInt(in);
+ // Ignore 'enforceDeterminism'. It used to be true by
+ // default, but also only never had any effect when
+ // `nrRepeats == 0`. We have already asserted that
+ // `nrRepeats` in fact is 0, so we can safely ignore this
+ // without doing something other than what the client
+ // asked for.
+ readInt(in);
settings.runDiffHook = true;
}