Fix build against the latest flakes branch

This commit is contained in:
Eelco Dolstra 2019-05-22 14:51:55 +02:00
parent 8717d69a36
commit b7be2bf9ad

View file

@ -247,7 +247,7 @@ int main(int argc, char * * argv)
if (myArgs.flake) {
FlakeRef flakeRef(myArgs.releaseExpr);
auto vFlake = state.allocValue();
makeFlakeValue(state, flakeRef, AllowRegistryAtTop, *vFlake);
makeFlakeValue(state, flakeRef, AllPure, *vFlake);
auto vProvides = (*vFlake->attrs->get(state.symbols.create("provides")))->value;
state.forceValue(*vProvides);