-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Open
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Nixpkgs version
- Unstable (26.05)
Describe the bug
this doesn't account for instances when database is local and host is a unix socket
| databaseActuallyCreateLocally = cfg.database.createLocally && cfg.database.host == "localhost"; |
Steps to reproduce
services.keycloak = {
enable = true;
database.host = "/run/postgresql";
plugins = with pkgs.keycloak.plugins; [
junixsocket-common
junixsocket-native-common
];
...
};Expected behaviour
for database to be created even if host is a unix socket
Screenshots
No response
Relevant log output
WARN [io.agroal.pool] (agroal-11) Datasource '<default>': FATAL: role "keycloak" does not existAdditional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.63, NixOS, 26.05 (Yarara), 26.05.20260111.ffbc9f8 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.31.2+2 - nixpkgs:
/nix/store/ln4j1iqnnzs2ynx2cr88bdh65fmds2aq-source
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS