1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Don't provide 'getFlake' if the 'flakes' feature is not enabled

This commit is contained in:
Eelco Dolstra 2020-06-17 16:54:32 +02:00
parent fdff09e57c
commit 0a1d3c1dd3
3 changed files with 21 additions and 6 deletions

View file

@ -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");
}