gradm: fix gradm_pam path
We alredy rewrote /sbin/gradm, which technically matches /sbin/gradm_pam, so this ends up working exactly as we want. Otherwise we rewrite twice and gradm can't execute the PAM module with '-p' Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
b4399324c1
commit
784062214c
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace ./Makefile --replace "/usr/include/security/pam_" "${pam}/include/security/pam_"
|
||||
substituteInPlace ./gradm_defs.h --replace "/sbin/grlearn" "$out/sbin/grlearn"
|
||||
substituteInPlace ./gradm_defs.h --replace "/sbin/gradm" "$out/sbin/gradm"
|
||||
substituteInPlace ./gradm_defs.h --replace "/sbin/gradm_pam" "$out/sbin/gradm_pam"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user