2022-06-18 22:00:59 +03:00
|
|
|
let
|
|
|
|
tools = import ./lib/tools.nix;
|
|
|
|
pins = import ./sources;
|
2021-06-05 23:59:06 +03:00
|
|
|
in with tools;
|
|
|
|
super: rec {
|
2022-05-29 23:24:01 +03:00
|
|
|
hydra = (patch super.hydra-unstable "patches/base/hydra").override { nix = super.nixVersions.nix_2_8; };
|
2021-06-05 23:59:06 +03:00
|
|
|
|
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
|
|
|
|
2022-05-27 19:30:02 +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"
|
2022-05-27 19:37:55 +03:00
|
|
|
"jdk.security.auth"
|
2022-05-27 19:52:56 +03:00
|
|
|
"jdk.unsupported"
|
|
|
|
"jdk.xml.dom"
|
|
|
|
"jdk.sctp"
|
2022-05-31 11:15:54 +03:00
|
|
|
"jdk.management"
|
2022-05-27 19:30:02 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
in jre // { meta = jre.meta // { inherit (super.jdk17_headless.meta) platforms; }; };
|
2022-06-07 19:36:37 +03:00
|
|
|
|
2022-07-31 23:36:07 +03:00
|
|
|
keycloak = super.keycloak.override {
|
|
|
|
jre = jre17_standard;
|
|
|
|
};
|
|
|
|
|
2022-06-18 22:00:59 +03:00
|
|
|
tempo = super.tempo.overrideAttrs (_: {
|
|
|
|
version = builtins.substring 1 (-1) pins.tempo.version;
|
2022-07-25 12:58:20 +03:00
|
|
|
src = super.npins.mkSource pins.tempo;
|
2022-06-18 22:00:59 +03:00
|
|
|
subPackages = [ "cmd/tempo" ];
|
|
|
|
});
|
2021-06-05 23:59:06 +03:00
|
|
|
}
|