mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 23:23:52 +03:00
41 lines
973 B
Nix
41 lines
973 B
Nix
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" ];
|
|
});
|
|
|
|
secp256k1 = prev.secp256k1.overrideAttrs (_attrs: {
|
|
version = final.sources.secp256k1.rev;
|
|
src = final.sources.secp256k1;
|
|
});
|
|
|
|
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;
|
|
};
|
|
|
|
lmdb = prev.lmdb.overrideAttrs (attrs: {
|
|
patches =
|
|
optionalList attrs.patches ++ prev.lib.optional prev.stdenv.isDarwin [
|
|
../pkgs/lmdb/darwin-fsync.patch
|
|
];
|
|
});
|
|
}
|