guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: sudo: Build without pam for the Hurd.


From: guix-commits
Subject: 03/03: gnu: sudo: Build without pam for the Hurd.
Date: Tue, 26 Jan 2021 04:17:42 -0500 (EST)

efraim pushed a commit to branch staging
in repository guix.

commit 0e2abacae66db1295be8d5e87ff2eba6322f8f59
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 26 10:36:21 2021 +0200

    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(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e14b84f..f78b411 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]