summary refs log tree commit diff
path: root/pkgs/os-specific/linux/gradm
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-03-17 18:28:10 -0500
committerRicardo M. Correia <rcorreia@wizy.org>2014-04-06 21:51:26 +0200
commit784062214ce43ea9d2f6a1ea068e952d517476fe (patch)
tree9fbdd2bf6d15f0e12f09d5c39ef13c01b45ff4f3 /pkgs/os-specific/linux/gradm
parentb4399324c1c8813849c4a4209de118d9cebe8b00 (diff)
downloadnixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.tar
nixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.tar.gz
nixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.tar.bz2
nixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.tar.lz
nixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.tar.xz
nixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.tar.zst
nixpkgs-784062214ce43ea9d2f6a1ea068e952d517476fe.zip
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>
Diffstat (limited to 'pkgs/os-specific/linux/gradm')
-rw-r--r--pkgs/os-specific/linux/gradm/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/gradm/default.nix b/pkgs/os-specific/linux/gradm/default.nix
index 680547be57c..7f6f373b098 100644
--- a/pkgs/os-specific/linux/gradm/default.nix
+++ b/pkgs/os-specific/linux/gradm/default.nix
@@ -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 = ''