1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 07:22:43 +01:00

Test derivation options with content-addressing too

Now, both the unit and functional tests relating to derivation options
are tested both ways -- with input addressing and content-addressing
derivations.
This commit is contained in:
John Ericson 2025-04-14 11:15:56 -04:00
parent 7acc229c8f
commit 307dbe9914
37 changed files with 560 additions and 94 deletions

View file

@ -1355,7 +1355,7 @@ Derivation Derivation::fromJSON(
for (auto & [outputName, output] : outputs) {
res.outputs.insert_or_assign(
outputName,
DerivationOutput::fromJSON(store, res.name, outputName, output));
DerivationOutput::fromJSON(store, res.name, outputName, output, xpSettings));
}
} catch (Error & e) {
e.addTrace({}, "while reading key 'outputs'");