shadow: Fix lastlog and faillog to find logs in /var/log

Fixes #2575 and closes #2586.
This commit is contained in:
Luca Bruno 2014-05-09 13:48:27 +02:00 committed by Vladimír Čunát
parent 9c039b26e6
commit 9e7e3978f9

View File

@ -30,7 +30,10 @@ stdenv.mkDerivation rec {
# Assume System V `setpgrp (void)', which is the default on GNU variants
# (`AC_FUNC_SETPGRP' is not cross-compilation capable.)
preConfigure = "export ac_cv_func_setpgrp_void=yes";
preConfigure = ''
export ac_cv_func_setpgrp_void=yes
export shadow_cv_logdir=/var/log
'';
preBuild = assert glibc != null;
''