1
0
Fork 0
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:
Eelco Dolstra 2019-05-22 22:56:46 +02:00
parent 55a0451e51
commit 66f1d7ee95
7 changed files with 19 additions and 41 deletions

View file

@ -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);