aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-04 20:56:13 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-04 20:56:42 +0200
commit1e53a07712fba830eb3967cc16894992d5a33922 (patch)
tree419c034629eb0b1ce3fc28ffe9cccdcaf9062866 /src/nix/flake.cc
parent1c5067b9a7e1f561bf9e9e84642c495a50ca44a7 (diff)
Make non-flake inputs lazy
Also add a proper test for non-flake inputs.
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index d229c7512..653154aaa 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -122,6 +122,7 @@ static nlohmann::json flakeToJson(const Flake & flake)
return j;
}
+#if 0
static void printNonFlakeInfo(const NonFlake & nonFlake)
{
std::cout << fmt("ID: %s\n", nonFlake.alias);
@@ -136,7 +137,6 @@ static nlohmann::json nonFlakeToJson(const NonFlake & nonFlake)
return j;
}
-#if 0
// FIXME: merge info CmdFlakeInfo?
struct CmdFlakeDeps : FlakeCommand
{