summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2020-03-07 02:35:00 -0500
committerJan Nieuwenhuizen <janneke@gnu.org>2020-03-26 12:59:34 +0100
commit1a9b3faaf25c40552e100f4a00bef8f0a32ba1dc (patch)
tree1346069fc55bb12c22c797f31f5784a4c07fbb5d
parent9dd9e8fabfd0b3f3d11e8e26a7aa13d1b0ceea49 (diff)
downloadguix-1a9b3faaf25c40552e100f4a00bef8f0a32ba1dc.tar.gz
gnu: shadow: Add linux-pam dependency for the Hurd.
* gnu/packages/admin.scm (shadow): Also include linux-pam dependency
for the Hurd.
-rw-r--r--gnu/packages/admin.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index f5cebc0283..a296d6cacf 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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