aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-17 16:54:32 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-17 16:54:32 +0200
commit0a1d3c1dd311f94e9d1f56e1aa7fe1ab34314ec1 (patch)
tree7390124523742008d3efcc7d28b41a9151f027ab /src/libexpr/flake
parentfdff09e57c8cae0d4227dfe39804c8279e29452c (diff)
Don't provide 'getFlake' if the 'flakes' feature is not enabled
Diffstat (limited to 'src/libexpr/flake')
-rw-r--r--src/libexpr/flake/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index fa3185d08..9d516bb87 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -588,7 +588,7 @@ static void prim_getFlake(EvalState & state, const Pos & pos, Value * * args, Va
v);
}
-static RegisterPrimOp r2("getFlake", 1, prim_getFlake);
+static RegisterPrimOp r2("getFlake", 1, prim_getFlake, "flakes");
}