guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 24/30: gnu: shadow: Add linux-pam dependency for the Hurd.
Date: Sat, 21 Mar 2020 19:36:30 -0400 (EDT)

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

commit a229ac4e284d866b882294143b43b831fa0edbea
Author: Jan Nieuwenhuizen <address@hidden>
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 f5cebc0..a296d6c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2019 Guillaume Le Vaillant <address@hidden>
 ;;; Copyright © 2019, 2020 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2020 Oleg Pykhalov <address@hidden>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;;
 ;;; 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



reply via email to

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