aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2020-11-07 10:18:23 +0100
committerBrice Waegeneire <brice@waegenei.re>2021-02-19 13:56:57 +0100
commitb4c8855eaa5644b95f7d6053c099690a20ed1259 (patch)
tree04847054af97f7ced843e86c71dc12e8c61177ed /gnu/packages/admin.scm
parent98a41305cca3413c6d0b98e9c02caddc9138353e (diff)
downloadguix-b4c8855eaa5644b95f7d6053c099690a20ed1259.tar.gz
guix-b4c8855eaa5644b95f7d6053c099690a20ed1259.zip
gnu: shadow: Set log in /var/log.
Fixes lastlog and faillog commands which otherwise look for lastlog and faillog files in /etc. * gnu/packages/admin.scm (shadow)[arguments]: Add configure flag 'shadow_cv_logdir'.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 8dc6a4f303..a7502cf5db 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -702,6 +702,7 @@ hostname.")
'(,@(if (hurd-target?)
'()
'("--with-libpam"))
+ "shadow_cv_logdir=/var/log"
"ac_cv_func_setpgrp_void=yes")
#:phases