aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nix/flake.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index bfff682d9..4f43f549b 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -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();
}
};