guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 24/31: gnu: shadow: Add linux-pam dependency for the Hurd.
Date: Tue, 24 Mar 2020 18:38:54 -0400 (EDT)

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

commit ad16da335687cdfebf6948d5c4ca9ada0a0f2319
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]