aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/flake.cc
diff options
context:
space:
mode:
authorNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-02-27 19:54:18 +0100
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-03-07 11:56:43 +0100
commit9ff1a9ea65bdeb520becb843b8300a23fb88a5a9 (patch)
treef10d20eb177b1a069ac275465a2af372f68fc34c /src/libexpr/primops/flake.cc
parentcfb6ab80cea7f0ed3f525e8120f2e569f963fa0e (diff)
Implemented json flag for `nix flake info`
Diffstat (limited to 'src/libexpr/primops/flake.cc')
-rw-r--r--src/libexpr/primops/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/flake.cc b/src/libexpr/primops/flake.cc
index 9f137a0b9..ac0421549 100644
--- a/src/libexpr/primops/flake.cc
+++ b/src/libexpr/primops/flake.cc
@@ -141,7 +141,7 @@ static FlakeSourceInfo fetchFlake(EvalState & state, const FlakeRef & flakeRef)
else abort();
}
-static Flake getFlake(EvalState & state, const FlakeRef & flakeRef)
+Flake getFlake(EvalState & state, const FlakeRef & flakeRef)
{
auto sourceInfo = fetchFlake(state, flakeRef);
debug("got flake source '%s' with revision %s",