diff options
author | Kevin Quick <kquick@galois.com> | 2020-09-29 08:32:06 -0700 |
---|---|---|
committer | Kevin Quick <kquick@galois.com> | 2020-09-29 08:32:06 -0700 |
commit | 66c3959e8ca73ff59faacc319a47b6f93a66be64 (patch) | |
tree | 076892d5ef8b3d5d81ead006351bc460e7a08b09 /src/libfetchers/registry.cc | |
parent | 5a35cc29bffc88b88f883dfcdd1bb251eab53ecd (diff) | |
parent | e2d398c200023a0d1e0054c536e7f6438bd2b139 (diff) |
Merge branch 'master' into access-tokens
Diffstat (limited to 'src/libfetchers/registry.cc')
-rw-r--r-- | src/libfetchers/registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/registry.cc b/src/libfetchers/registry.cc index 551e7684a..4367ee810 100644 --- a/src/libfetchers/registry.cc +++ b/src/libfetchers/registry.cc @@ -145,7 +145,7 @@ static std::shared_ptr<Registry> getGlobalRegistry(ref<Store> store) auto path = settings.flakeRegistry.get(); if (!hasPrefix(path, "/")) { - auto storePath = downloadFile(store, path, Headers {}, "flake-registry.json", false).storePath; + auto storePath = downloadFile(store, path, "flake-registry.json", false).storePath; if (auto store2 = store.dynamic_pointer_cast<LocalFSStore>()) store2->addPermRoot(storePath, getCacheDir() + "/nix/flake-registry.json"); path = store->toRealPath(storePath); |