about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/linux/pam/suid-wrapper-path.patch
blob: 71533c51a1902b445b3605161251b1b1d7323d89 (plain) (blame)
1
2
3
4
5
6
It needs the SUID version during runtime, and that can't be in /nix/store/**
--- a/modules/pam_unix/Makefile.in
+++ b/modules/pam_unix/Makefile.in
@@ -651 +651 @@
-	-DCHKPWD_HELPER=\"$(sbindir)/unix_chkpwd\" \
+	-DCHKPWD_HELPER=\"/run/wrappers/bin/unix_chkpwd\" \