2022-11-27 04:16:39 +00:00
|
|
|
final: prev:
|
|
|
|
let
|
|
|
|
pkgs = final;
|
2024-02-08 19:03:04 +00:00
|
|
|
version = "0.1";
|
|
|
|
keycloak-account-v1 = prev.fetchMavenArtifact {
|
|
|
|
artifactId = "keycloak-account-v1";
|
|
|
|
groupId = "io.phasetwo.keycloak";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-t4kuc5ZieqsC06/alFN0W1ktORuk36TIgKXfrmBtesA=";
|
|
|
|
};
|
2022-11-27 04:16:39 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
# this key should be the same as the simpleFlake name attribute.
|
|
|
|
keycloak-theme-pub-solar = {
|
|
|
|
keycloak-theme-pub-solar = import ./pkgs/keycloak-theme-pub-solar.nix { inherit pkgs; };
|
2024-02-08 19:03:04 +00:00
|
|
|
keycloak = prev.keycloak.overrideAttrs (finalAttrs: previousAttrs: {
|
|
|
|
installPhase = previousAttrs.installPhase + ''
|
|
|
|
ln -s ${keycloak-account-v1}/share/java/keycloak-account-v1-${version}.jar $out/providers/keycloak-account-v1-${version}.jar
|
|
|
|
'';
|
|
|
|
});
|
2022-11-27 04:16:39 +00:00
|
|
|
};
|
|
|
|
}
|