Fix build against the latest flakes branch
This commit is contained in:
parent
8717d69a36
commit
b7be2bf9ad
|
@ -247,7 +247,7 @@ int main(int argc, char * * argv)
|
||||||
if (myArgs.flake) {
|
if (myArgs.flake) {
|
||||||
FlakeRef flakeRef(myArgs.releaseExpr);
|
FlakeRef flakeRef(myArgs.releaseExpr);
|
||||||
auto vFlake = state.allocValue();
|
auto vFlake = state.allocValue();
|
||||||
makeFlakeValue(state, flakeRef, AllowRegistryAtTop, *vFlake);
|
makeFlakeValue(state, flakeRef, AllPure, *vFlake);
|
||||||
|
|
||||||
auto vProvides = (*vFlake->attrs->get(state.symbols.create("provides")))->value;
|
auto vProvides = (*vFlake->attrs->get(state.symbols.create("provides")))->value;
|
||||||
state.forceValue(*vProvides);
|
state.forceValue(*vProvides);
|
||||||
|
|
Loading…
Reference in a new issue