gnu: shadow: Add linux-pam dependency for the Hurd.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 7 Mar 2020 07:35:00 +0000 (02:35 -0500)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 26 Mar 2020 11:59:34 +0000 (12:59 +0100)
* gnu/packages/admin.scm (shadow): Also include linux-pam dependency
for the Hurd.

gnu/packages/admin.scm

index f5cebc0..a296d6c 100644 (file)
@@ -31,6 +31,7 @@
 ;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -503,11 +504,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