diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-07 22:29:16 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-05-07 22:49:13 +0200 |
commit | 3c171851a8aed22e977a1798dc5d306faa6e5b63 (patch) | |
tree | 29b7f8f0fa3089a2ed7f0bedc3b3b17285b674e3 /src/libexpr/eval.hh | |
parent | c38c726eb5d447c7e9d894d57cd05ac46c173ddd (diff) |
Make the URL/path of the global flake registry configurable
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 44988cd70..b0bf777fc 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -367,6 +367,11 @@ struct EvalSettings : Config Setting<Strings> allowedUris{this, {}, "allowed-uris", "Prefixes of URIs that builtin functions such as fetchurl and fetchGit are allowed to fetch."}; + + Setting<std::string> flakeRegistry{this, "", "flake-registry", + "Path or URI of the global flake registry."}; + + EvalSettings(); }; extern EvalSettings evalSettings; |