aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-18 16:05:55 +0200
committerGitHub <noreply@github.com>2019-06-18 16:05:55 +0200
commitd4a48b12fafea6a35054cd5d4f014551e8e4e352 (patch)
treebee2c280b924d508940e03bb7e7bcab2fa8b9120 /src
parent387113130846a36890dbe4d8624539d291c1dc5a (diff)
parent8a6704d826578d5640d3fca347308298020a6fde (diff)
Merge pull request #2917 from CSVdB/docs
Updated flake 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 af1a361b3..f1406becc 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -129,14 +129,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
{