mirror of
https://github.com/NixOS/nix
synced 2025-07-06 09:11:47 +02:00
Allow to disable global flake-registry with ""
This commit is contained in:
parent
11ef807c22
commit
a456630a5a
3 changed files with 22 additions and 2 deletions
|
@ -71,7 +71,12 @@ struct FetchSettings : public Config
|
|||
"Whether to warn about dirty Git/Mercurial trees."};
|
||||
|
||||
Setting<std::string> flakeRegistry{this, "https://channels.nixos.org/flake-registry.json", "flake-registry",
|
||||
"Path or URI of the global flake registry."};
|
||||
R"(
|
||||
Path or URI of the global flake registry.
|
||||
|
||||
When empty, disables the global flake registry.
|
||||
)"};
|
||||
|
||||
|
||||
Setting<bool> useRegistries{this, true, "use-registries",
|
||||
"Whether to use flake registries to resolve flake references."};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue