Skip to content

Commit 65a083d

Browse files
committed
PR NixOS#440968: keycloak: add unix socket support
1 parent c4946bf commit 65a083d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/ke/keycloak/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
fetchzip,
55
makeBinaryWrapper,
66
jre_headless,
7+
junixsocket-common,
8+
junixsocket-native-common,
79
nixosTests,
810
callPackage,
911
confFile ? null,
@@ -58,6 +60,10 @@ stdenv.mkDerivation (finalAttrs: {
5860
}
5961
${lib.concatMapStringsSep "\n" (pl: "install_plugin ${lib.escapeShellArg pl}") plugins}
6062
''
63+
+ ''
64+
ln -s ${junixsocket-common}/share/java/* providers/
65+
ln -s ${junixsocket-native-common}/share/java/* providers/
66+
''
6167
+ ''
6268
patchShebangs bin/kc.sh
6369
export KC_HOME_DIR=$(pwd)

0 commit comments

Comments
 (0)