forked from lix-project/lix
Don’t require ca-derivations
when __contentAddressed = false
If we explicitely opt-out of it, there’s no need to require the experimental feature
This commit is contained in:
parent
886ad0055f
commit
5b2aa61f1b
|
@ -985,8 +985,9 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * *
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i->name == state.sContentAddressed) {
|
if (i->name == state.sContentAddressed) {
|
||||||
settings.requireExperimentalFeature(Xp::CaDerivations);
|
|
||||||
contentAddressed = state.forceBool(*i->value, pos);
|
contentAddressed = state.forceBool(*i->value, pos);
|
||||||
|
if (contentAddressed)
|
||||||
|
settings.requireExperimentalFeature(Xp::CaDerivations);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The `args' attribute is special: it supplies the
|
/* The `args' attribute is special: it supplies the
|
||||||
|
|
Loading…
Reference in a new issue