gnu: shadow: Add linux-pam dependency for the Hurd.

* gnu/packages/admin.scm (shadow): Also include linux-pam dependency
for the Hurd.
This commit is contained in:
Jan Nieuwenhuizen 2020-03-07 02:35:00 -05:00
parent 9dd9e8fabf
commit 1a9b3faaf2
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View 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 @@ (define-public shadow
(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