depot/packages/patched-derivations.nix

31 lines
969 B
Nix
Raw Normal View History

2021-06-05 23:59:06 +03:00
let tools = import ./lib/tools.nix;
in with tools;
super: rec {
2022-02-26 03:00:33 +02:00
hydra = (patch super.hydra-unstable "patches/base/hydra").override { nix = super.nix_2_4; };
2021-06-05 23:59:06 +03:00
2021-10-16 15:33:19 +03:00
lain-ipfs = patch-rename (super.ipfs_latest or super.ipfs) "lain-ipfs" "patches/base/ipfs";
2022-05-27 18:20:36 +03:00
sssd = (super.sssd.override { withSudo = true; }).overrideAttrs (old: {
postFixup = (old.postFixup or "") + ''
${super.removeReferencesTo}/bin/remove-references-to -t ${super.stdenv.cc.cc} $out/modules/ldb/memberof.so
'';
disallowedReferences = [ super.stdenv.cc.cc ];
});
2022-05-27 16:56:49 +03:00
jre17_standard = let
jre = super.jre_minimal.override {
jdk = super.jdk17_headless;
modules = [
"java.se"
"jdk.naming.dns"
"jdk.crypto.ec"
"jdk.zipfs"
"jdk.security.auth"
"jdk.unsupported"
"jdk.xml.dom"
"jdk.sctp"
];
};
in jre // { meta = jre.meta // { inherit (super.jdk17_headless.meta) platforms; }; };
2021-06-05 23:59:06 +03:00
}