From 784062214ce43ea9d2f6a1ea068e952d517476fe Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 17 Mar 2014 18:28:10 -0500 Subject: [PATCH] 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 --- pkgs/os-specific/linux/gradm/default.nix | 1 - 1 file changed, 1 deletion(-) 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 = ''