forked from lix-project/lix
Fix 'nix flake update'
This commit is contained in:
parent
32f31a8c63
commit
90d55ed275
|
@ -150,15 +150,7 @@ struct CmdFlakeUpdate : FlakeCommand
|
||||||
void run(nix::ref<nix::Store> store) override
|
void run(nix::ref<nix::Store> store) override
|
||||||
{
|
{
|
||||||
auto evalState = getEvalState();
|
auto evalState = getEvalState();
|
||||||
|
resolveFlake();
|
||||||
auto flakeRef = getFlakeRef();
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (std::get_if<FlakeRef::IsPath>(&flakeRef.data))
|
|
||||||
updateLockFile(*evalState, flakeRef, true);
|
|
||||||
else
|
|
||||||
throw Error("cannot update lockfile of flake '%s'", flakeRef);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue