diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-04-30 22:41:24 +0200 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-05-03 16:12:55 +0200 |
commit | 9765ee6bbf893e7ecebe18915aacb323897d3e6a (patch) | |
tree | b99b60920f3b282dfcda75e246d2f7d0bb44928f /pkgs/servers/keycloak | |
parent | 78f6f779627c89823d8402aac658418ef188be1c (diff) |
keycloak: 17.0.1 -> 18.0.0
Release notes available at https://www.keycloak.org/docs/latest/release_notes/index.html#keycloak-18-0-0. The way the database port is configured changed in Keycloak 18 and the old way of including it in the `db-url-host` setting no longer works. Use the new `db-url-port` setting instead. Signed-off-by: Felix Singer <felixsinger@posteo.net> Signed-off-by: Kim Lindberger <kim.lindberger@gmail.com>
Diffstat (limited to 'pkgs/servers/keycloak')
-rw-r--r-- | pkgs/servers/keycloak/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/keycloak/default.nix b/pkgs/servers/keycloak/default.nix index f28679f2cf5fc..95a3ade822c13 100644 --- a/pkgs/servers/keycloak/default.nix +++ b/pkgs/servers/keycloak/default.nix @@ -13,11 +13,11 @@ stdenv.mkDerivation rec { pname = "keycloak"; - version = "17.0.1"; + version = "18.0.0"; src = fetchzip { url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip"; - sha256 = "sha256-z1LfTUoK+v4oQxdyIQruFhl5O333zirSrkPoTFgVfmI="; + sha256 = "0fxf9m50hpjplj077z2zjp0qibixz5y4lbc8159cnxbd4gzpkaaf"; }; nativeBuildInputs = [ makeWrapper jre ]; @@ -57,8 +57,8 @@ stdenv.mkDerivation rec { ''; postFixup = '' - substituteInPlace $out/bin/kc.sh --replace '-Dkc.home.dir=$DIRNAME/../' '-Dkc.home.dir=$KC_HOME_DIR' - substituteInPlace $out/bin/kc.sh --replace '-Djboss.server.config.dir=$DIRNAME/../conf' '-Djboss.server.config.dir=$KC_CONF_DIR' + substituteInPlace $out/bin/kc.sh --replace ${lib.escapeShellArg "-Dkc.home.dir='$DIRNAME'/../"} '-Dkc.home.dir=$KC_HOME_DIR' + substituteInPlace $out/bin/kc.sh --replace ${lib.escapeShellArg "-Djboss.server.config.dir='$DIRNAME'/../conf"} '-Djboss.server.config.dir=$KC_CONF_DIR' for script in $(find $out/bin -type f -executable); do wrapProgram "$script" --set JAVA_HOME ${jre} --prefix PATH : ${jre}/bin |