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

Add experimental feature 'fetch-closure'

This commit is contained in:
Eelco Dolstra 2022-03-24 21:33:20 +01:00
parent e5f7029ba4
commit f902f3c2cb
4 changed files with 6 additions and 1 deletions

View file

@ -7,6 +7,8 @@ namespace nix {
static void prim_fetchClosure(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
settings.requireExperimentalFeature(Xp::FetchClosure);
state.forceAttrs(*args[0], pos);
std::optional<std::string> fromStoreUrl;