nix: fix build

This commit is contained in:
Sandro - 2023-11-10 21:48:56 +01:00
parent 3400216379
commit 07031c2985
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 0 additions and 15 deletions

View File

@ -101,7 +101,6 @@ with final; {
nixVersions = prev.nixVersions // {
stable = (prev.nixVersions.stable.override { withAWS = false; }).overrideAttrs ({ patches ? [ ], ...}: {
patches = patches ++ [
./nix-increase-substituter-threadpool.diff
# request compression
(fetchpatch {
url = "https://github.com/NixOS/nix/pull/7712.patch";

View File

@ -1,14 +0,0 @@
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc
index fb985c97b..a509d6f4d 100644
--- a/src/libstore/misc.cc
+++ b/src/libstore/misc.cc
@@ -102,7 +102,8 @@ void Store::queryMissing(const std::vector<DerivedPath> & targets,
downloadSize_ = narSize_ = 0;
// FIXME: make async.
- ThreadPool pool(fileTransferSettings.httpConnections);
+ // https://github.com/NixOS/nix/issues/5118
+ ThreadPool pool(300);
struct State
{