guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 16/23: gnu: shadow: Add linux-pam dependency for the Hurd.
Date: Thu, 26 Mar 2020 08:15:01 -0400 (EDT)

janneke pushed a commit to branch core-updates
in repository guix.

commit 1a9b3faaf25c40552e100f4a00bef8f0a32ba1dc
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]