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:
parent
7acc229c8f
commit
307dbe9914
37 changed files with 560 additions and 94 deletions
|
|
@ -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'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue