diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-06-17 16:54:32 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-06-17 16:54:32 +0200 |
commit | 0a1d3c1dd311f94e9d1f56e1aa7fe1ab34314ec1 (patch) | |
tree | 7390124523742008d3efcc7d28b41a9151f027ab /src/libexpr/flake | |
parent | fdff09e57c8cae0d4227dfe39804c8279e29452c (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.cc | 2 |
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"); } |