aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-26 15:59:50 +0200
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-06-18 11:08:04 +0200
commit8a6704d826578d5640d3fca347308298020a6fde (patch)
tree5ee4c5b04036de233d5fd687967ac9cacd275bf8 /src
parent412684f9dca4e6b8100c3c5e95bb92514d96fa57 (diff)
Updated documentation
Diffstat (limited to 'src')
-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
{