aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-22 22:56:46 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-22 22:56:46 +0200
commit66f1d7ee95ba693a15ae5dc413289fee954f0f04 (patch)
treeeec6d8093bada22f8927c0f4184d4a75dcebf61c /src/libexpr/eval.cc
parent55a0451e5132b460ec80eb30647c3d957fc1ce98 (diff)
Fetch the flake registry from the NixOS/flake-registry repo
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 2789ea313..0f8a105b1 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -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);