2020-10-27 15:55:49 +03:00
|
|
|
final: prev:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
optionalList = xs: if xs == null then [ ] else xs;
|
|
|
|
|
|
|
|
in {
|
|
|
|
h2o = prev.h2o.overrideAttrs (_attrs: {
|
|
|
|
version = final.sources.h2o.rev;
|
|
|
|
src = final.sources.h2o;
|
|
|
|
outputs = [ "out" "dev" "lib" ];
|
|
|
|
});
|
|
|
|
|
|
|
|
libsigsegv = prev.libsigsegv.overrideAttrs (attrs: {
|
|
|
|
patches = optionalList attrs.patches ++ [
|
|
|
|
../pkgs/libsigsegv/disable-stackvma_fault-linux-arm.patch
|
|
|
|
../pkgs/libsigsegv/disable-stackvma_fault-linux-i386.patch
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
curlMinimal = prev.curl.override {
|
|
|
|
http2Support = false;
|
|
|
|
scpSupport = false;
|
|
|
|
gssSupport = false;
|
|
|
|
ldapSupport = false;
|
|
|
|
brotliSupport = false;
|
|
|
|
};
|
2021-03-16 01:20:57 +03:00
|
|
|
|
|
|
|
lmdb = prev.lmdb.overrideAttrs (attrs: {
|
|
|
|
patches =
|
|
|
|
if builtins.currentSystem != "x86_64-darwin"
|
|
|
|
then
|
|
|
|
attrs.patches
|
|
|
|
else
|
|
|
|
optionalList attrs.patches ++ [
|
|
|
|
../pkgs/lmdb/darwin-fsync.patch
|
|
|
|
];
|
|
|
|
});
|
2020-10-27 15:55:49 +03:00
|
|
|
}
|