aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nix/flake.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index af1a361b3..6f6d3c130 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -234,8 +234,8 @@ struct CmdFlakeInfo : FlakeCommand, MixJSON
if (json) {
auto json = flakeToJson(flake);
-#if 0
auto state = getEvalState();
+ auto flake = resolveFlake();
auto vFlake = state->allocValue();
flake::callFlake(*state, flake, *vFlake);
@@ -257,7 +257,6 @@ struct CmdFlakeInfo : FlakeCommand, MixJSON
});
json["outputs"] = std::move(outputs);
-#endif
std::cout << json.dump() << std::endl;
} else