gnu: coreutils: Typo: Use libcap only when supported.

* gnu/packages/base.scm (coreutils)[inputs]: Typo: Use libcap only when
supported.
This commit is contained in:
Jan Nieuwenhuizen 2020-03-30 13:03:11 +02:00
parent ae0badf5bb
commit 1808e64de0
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273

View File

@ -307,8 +307,8 @@ used to apply commands with arbitrarily long arguments.")
;; Do not use libcap when cross-compiling since it's not quite
;; cross-compilable; and use it only for supported systems.
,@(if (and (not (%current-target-system))
(not (member (%current-system)
(package-supported-systems libcap))))
(member (%current-system)
(package-supported-systems libcap)))
`(("libcap" ,libcap)) ;capability support in 'ls', etc.
'())))
(native-inputs