mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
Fetch the flake registry from the NixOS/flake-registry repo
This commit is contained in:
parent
55a0451e51
commit
66f1d7ee95
7 changed files with 19 additions and 41 deletions
|
@ -1978,14 +1978,6 @@ std::ostream & operator << (std::ostream & str, const ExternalValueBase & v) {
|
|||
|
||||
EvalSettings evalSettings;
|
||||
|
||||
EvalSettings::EvalSettings()
|
||||
{
|
||||
if (flakeRegistry == "")
|
||||
// FIXME: static initialization order fiasco. But this will go
|
||||
// away when we switch to an online registry.
|
||||
flakeRegistry = settings.nixDataDir + "/nix/flake-registry.json";
|
||||
}
|
||||
|
||||
static GlobalConfig::Register r1(&evalSettings);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue