aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 8d6716391..b673ca73e 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -128,14 +128,6 @@ static void printNonFlakeInfo(const NonFlake & nonFlake)
printSourceInfo(nonFlake.sourceInfo);
}
-static nlohmann::json nonFlakeToJson(const NonFlake & nonFlake)
-{
- nlohmann::json j;
- j["id"] = nonFlake.alias;
- sourceInfoToJson(nonFlake.sourceInfo, j);
- return j;
-}
-
// FIXME: merge info CmdFlakeInfo?
struct CmdFlakeDeps : FlakeCommand
{