Skip to content

Commit 29c9fa8

Browse files
committed
kanidm: fix running on Linux
1 parent bc649ee commit 29c9fa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/by-name/ka/kanidm/generic.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec {
4949
inherit hash;
5050
};
5151

52-
KANIDM_BUILD_PROFILE = "release_nixpgs_${arch}";
52+
KANIDM_BUILD_PROFILE = "release_nixpkgs_${arch}";
5353

5454
patches = lib.optionals enableSecretProvisioning [
5555
"${patchDir}/oauth2-basic-secret-modify.patch"
@@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
5959
postPatch =
6060
let
6161
format = (formats.toml { }).generate "${KANIDM_BUILD_PROFILE}.toml";
62-
socket_path = if stdenv.hostPlatform.isLinux then "/run/kanidm/sock" else "/var/run/kanidm.socket";
62+
socket_path = if stdenv.hostPlatform.isLinux then "/run/kanidmd/sock" else "/var/run/kanidm.socket";
6363
profile =
6464
{
6565
cpu_flags = if stdenv.hostPlatform.isx86_64 then "x86_64_legacy" else "none";

0 commit comments

Comments
 (0)