mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-24 03:00:35 +02:00
gnu: shadow: Correctly match the system type.
* gnu/packages/admin.scm (shadow)[inputs]: Use 'string-contains' instead of 'string-prefix?' when matching the system type.
This commit is contained in:
@@ -324,11 +324,11 @@ hostname.")
|
||||
(for-each delete-file (find-files man "^groups\\."))
|
||||
#t))))))
|
||||
|
||||
(inputs (if (string-suffix? "-linux"
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
`(("linux-pam" ,linux-pam))
|
||||
'()))
|
||||
(inputs (if (string-contains (or (%current-target-system)
|
||||
(%current-system))
|
||||
"-linux")
|
||||
`(("linux-pam" ,linux-pam))
|
||||
'()))
|
||||
(home-page "http://pkg-shadow.alioth.debian.org/")
|
||||
(synopsis "Authentication-related tools such as passwd, su, and login")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user