mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
Fix 'nix flake update'
This commit is contained in:
parent
32f31a8c63
commit
90d55ed275
1 changed files with 1 additions and 9 deletions
|
@ -150,15 +150,7 @@ struct CmdFlakeUpdate : FlakeCommand
|
|||
void run(nix::ref<nix::Store> store) override
|
||||
{
|
||||
auto evalState = getEvalState();
|
||||
|
||||
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
|
||||
resolveFlake();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue