From 0e2abacae66db1295be8d5e87ff2eba6322f8f59 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 26 Jan 2021 10:36:21 +0200 Subject: gnu: sudo: Build without pam for the Hurd. * gnu/packages/admin.scm (sudo)[inputs]: Only use linux-pam when not building for the Hurd. --- gnu/packages/admin.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/admin.scm') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e14b84f769..f78b411559 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1502,7 +1502,9 @@ system administrator.") `(("groff" ,groff)))) (inputs `(("coreutils" ,coreutils) - ("linux-pam" ,linux-pam) + ,@(if (hurd-target?) + '() + `(("linux-pam" ,linux-pam))) ("zlib" ,zlib))) (home-page "https://www.sudo.ws/") (synopsis "Run commands as root") -- cgit v1.2.3