mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Make the URL/path of the global flake registry configurable
This commit is contained in:
parent
c38c726eb5
commit
3c171851a8
3 changed files with 14 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue