diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-24 21:33:20 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-24 21:33:33 +0100 |
commit | f902f3c2cbfa1a78bec8d135297abe244452e794 (patch) | |
tree | e735153ac8e67e25d3d92f78e7e7267bb4a7c9c9 /src/libexpr | |
parent | e5f7029ba49a486c1b0c8011be79b8b41be20935 (diff) |
Add experimental feature 'fetch-closure'
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/primops/fetchClosure.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/primops/fetchClosure.cc b/src/libexpr/primops/fetchClosure.cc index 3e07d1d18..47f40ef33 100644 --- a/src/libexpr/primops/fetchClosure.cc +++ b/src/libexpr/primops/fetchClosure.cc @@ -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; |