gnu: Rename 'libnftnl/fixed' to 'libnftnl/pinned'.

* gnu/packages/linux.scm: Rename variable 'libnftnl/fixed' to
'libnftnl/pinned', add deprecation.
(iptables)[native-inputs]: Replace 'libnftnl/fixed' with 'libnftnl/pinned'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Simon Tournier 2023-02-01 10:36:01 +01:00 committed by Liliana Marie Prikler
parent 44f43603d3
commit 81f8cfcf0b
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -2848,7 +2848,7 @@ (define-public iptables
(native-inputs
(list pkg-config flex bison))
(inputs
(list libmnl libnftnl/fixed))
(list libmnl libnftnl/pinned))
(arguments
(list #:tests? #f ; no test suite
#:configure-flags ; add $libdir to the RUNPATH of executables
@ -7654,9 +7654,13 @@ (define-public libnftnl
used by nftables.")
(license license:gpl2+)))
;;; The symbol libnftl/fixed should be used when libnftnl needs fixes
;;; (security or else) and this deprecation could be removed.
(define-deprecated/public-alias libnftnl/fixed libnftnl/pinned)
;; This is used in iptables, which contributes to rust. We're pinning this
;; variant to avoid accidental rebuilds of rust.
(define-public libnftnl/fixed
(define-public libnftnl/pinned
(package (inherit libnftnl)
(version "1.2.0")
(source