nixpkgs/pkgs/os-specific/linux/pam/suid-wrapper-path.patch
2022-01-28 13:33:44 -08:00

6 lines
264 B
Diff

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\" \