keycloak: use base theme again
https://github.com/p2-inc/keycloak-account-v1
This commit is contained in:
parent
1202a23c20
commit
635a245592
|
@ -1,4 +1,4 @@
|
||||||
parent=keycloak.v2
|
parent=keycloak-v1
|
||||||
import=common/pub.solar
|
import=common/pub.solar
|
||||||
|
|
||||||
styles=
|
styles=
|
||||||
|
|
12
overlay.nix
12
overlay.nix
|
@ -1,10 +1,22 @@
|
||||||
final: prev:
|
final: prev:
|
||||||
let
|
let
|
||||||
pkgs = final;
|
pkgs = final;
|
||||||
|
version = "0.1";
|
||||||
|
keycloak-account-v1 = prev.fetchMavenArtifact {
|
||||||
|
artifactId = "keycloak-account-v1";
|
||||||
|
groupId = "io.phasetwo.keycloak";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-t4kuc5ZieqsC06/alFN0W1ktORuk36TIgKXfrmBtesA=";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# this key should be the same as the simpleFlake name attribute.
|
# this key should be the same as the simpleFlake name attribute.
|
||||||
keycloak-theme-pub-solar = {
|
keycloak-theme-pub-solar = {
|
||||||
keycloak-theme-pub-solar = import ./pkgs/keycloak-theme-pub-solar.nix { inherit pkgs; };
|
keycloak-theme-pub-solar = import ./pkgs/keycloak-theme-pub-solar.nix { inherit pkgs; };
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue