mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Parse CA derivations using new output variants
We no longer need `ParsedDerivation` because everything libstore needs to know about is in the `BasicDerivation` proper.
This commit is contained in:
parent
5ce95b9529
commit
9423f64ee2
6 changed files with 25 additions and 10 deletions
|
@ -1195,7 +1195,7 @@ void DerivationGoal::haveDerivation()
|
|||
|
||||
parsedDrv = std::make_unique<ParsedDerivation>(drvPath, *drv);
|
||||
|
||||
if (parsedDrv->contentAddressed()) {
|
||||
if (drv->type() == DerivationType::CAFloating) {
|
||||
settings.requireExperimentalFeature("ca-derivations");
|
||||
throw UnimplementedError("ca-derivations isn't implemented yet");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue