nix: fix build
This commit is contained in:
parent
3400216379
commit
07031c2985
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
{
|
Loading…
Reference in New Issue