fix(keycloak): NullPointerException
All checks were successful
Flake checks / Check (pull_request) Successful in 14m47s

Use nightly to fix Cannot invoke "org.keycloak.models.RealmModel.getClientScopesStream()" because "realm" is null

Until 23.0.2 is out

https://github.com/keycloak/keycloak/pull/25313

https://github.com/keycloak/keycloak/issues/25176
https://github.com/keycloak/keycloak/issues/25183
This commit is contained in:
teutat3s 2023-12-14 01:53:29 +01:00
parent 17baf5aa2f
commit 4de835127f
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 10 additions and 0 deletions

View file

@ -17,6 +17,7 @@
element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; };
forgejo = release-2311.forgejo;
})
(import ./keycloak.nix)
];
});
};

9
overlays/keycloak.nix Normal file
View file

@ -0,0 +1,9 @@
final: prev: {
keycloak = prev.keycloak.overrideAttrs (oldAttrs: rec {
version = "999.0.0-SNAPSHOT";
src = prev.fetchzip {
url = "https://github.com/keycloak/keycloak/releases/download/nightly/keycloak-${version}.zip";
hash = "sha256-2rOhBmPXQy6HK3CtG/7E2EUK5zEWrJtSgBg6AMw2q3E=";
};
});
}