gnu: Fix a crash in NTP and Chrony.

Fixes <https://bugs.gnu.org/43321>.

* gnu/packages/ntp.scm (ntp, chrony)[inputs]: Replace libcap with libcap/next.
This commit is contained in:
Leo Famulari 2020-09-11 20:51:22 -04:00
parent 1192ae9404
commit 898fbb60b2
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -80,7 +80,7 @@ (define-public chrony
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("libcap" ,libcap)
`(("libcap" ,libcap/next)
("libseccomp" ,libseccomp)
("nettle" ,nettle)))
(home-page "https://chrony.tuxfamily.org/")
@ -143,7 +143,7 @@ (define-public ntp
;; to run as non-root (when invoked with '-u'.)
,@(if (string-suffix? "-linux"
(or (%current-target-system) (%current-system)))
`(("libcap" ,libcap))
`(("libcap" ,libcap/next))
'())))
(arguments
`(#:phases