janneke pushed a commit to branch wip-hurd
in repository guix.

commit f7253805f63fcde7e1f380a1297dadc169e7b29a
Author: Jan Nieuwenhuizen <[email protected]>
AuthorDate: Sat Mar 7 02:35:00 2020 -0500

    gnu: shadow: Add linux-pam dependency for the Hurd.
    
    * gnu/packages/admin.scm (shadow): Also include linux-pam dependency
    for the Hurd.
---
 gnu/packages/admin.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 63ee6dd5..0145370 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2019 Guillaume Le Vaillant <[email protected]>
 ;;; Copyright © 2019, 2020 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2020 Oleg Pykhalov <[email protected]>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -500,11 +501,7 @@ hostname.")
                (for-each delete-file (find-files man "^groups\\."))
                #t))))))
 
-    (inputs  (if (string-contains (or (%current-target-system)
-                                      (%current-system))
-                                  "-linux")
-                 `(("linux-pam" ,linux-pam))
-                 '()))
+    (inputs `(("linux-pam" ,linux-pam)))
     (home-page "https://github.com/shadow-maint/shadow";)
     (synopsis "Authentication-related tools such as passwd, su, and login")
     (description

Reply via email to