forked from lix-project/lix
fixup! Reserve the __contentAddressed
derivation parameter
This commit is contained in:
parent
56d75bf4fc
commit
480b54e1c6
|
@ -809,9 +809,6 @@ private:
|
||||||
/* Whether this is a fixed-output derivation. */
|
/* Whether this is a fixed-output derivation. */
|
||||||
bool fixedOutput;
|
bool fixedOutput;
|
||||||
|
|
||||||
/* Whether this is a content adressed derivation */
|
|
||||||
bool contentAddressed = false;
|
|
||||||
|
|
||||||
/* Whether to run the build in a private network namespace. */
|
/* Whether to run the build in a private network namespace. */
|
||||||
bool privateNetwork = false;
|
bool privateNetwork = false;
|
||||||
|
|
||||||
|
@ -1198,9 +1195,7 @@ void DerivationGoal::haveDerivation()
|
||||||
|
|
||||||
parsedDrv = std::make_unique<ParsedDerivation>(drvPath, *drv);
|
parsedDrv = std::make_unique<ParsedDerivation>(drvPath, *drv);
|
||||||
|
|
||||||
contentAddressed = parsedDrv->contentAddressed();
|
if (parsedDrv->contentAddressed()) {
|
||||||
|
|
||||||
if (this->contentAddressed) {
|
|
||||||
settings.requireExperimentalFeature("content-addressed-paths");
|
settings.requireExperimentalFeature("content-addressed-paths");
|
||||||
throw Error("content-addressed-paths isn't implemented yet");
|
throw Error("content-addressed-paths isn't implemented yet");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue