libuv: add patch to disable io_uring on selected kernels
This commit is contained in:
parent
af253d8a7e
commit
e3127089c2
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
|
@ -33,6 +34,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
sha256 = "sha256-Lrsyh4qd3OkTw1cSPfahzfSGNt6+pRN1X21iiv1SsFo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Disable io_uring close on selected kernels. Remove on next release
|
||||
# https://github.com/libuv/libuv/pull/4141
|
||||
(fetchpatch {
|
||||
url = "https://github.com/libuv/libuv/commit/c811169f91b2101f7302e96de3d2dc366ade3a25.patch";
|
||||
hash = "sha256-7vk6XGXwJcwYUQPqIJ3JPd/fPIGrjE5WRDSJCMQfKeU=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
postPatch = let
|
||||
|
|
Loading…
Reference in a new issue