gnu: nss-certs: Do not inherit version and source from nss.

...in order to avoid a top-level variable reference.  This reverts commit
18c38c1898.

* gnu/packages/certs.scm (nss-certs)[version, source]: Do not inherit from NSS.
This commit is contained in:
Marius Bakke 2021-06-19 16:52:59 +02:00
parent 58f6927af5
commit 6500c9a5b3
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
2 changed files with 14 additions and 4 deletions

View file

@ -71,8 +71,18 @@ (define certdata2pem
(define-public nss-certs
(package
(name "nss-certs")
(version (package-version nss))
(source (package-source nss))
(version "3.67")
(source (origin
(method url-fetch)
(uri (let ((version-with-underscores
(string-join (string-split version #\.) "_")))
(string-append
"https://ftp.mozilla.org/pub/mozilla.org/security/nss/"
"releases/NSS_" version-with-underscores "_RTM/src/"
"nss-" version ".tar.gz")))
(sha256
(base32
"0zyfi27lbdz1bmk9dmsivcya4phx25rzlxqcnjab69yd928rlm7n"))))
(build-system gnu-build-system)
(outputs '("out"))
(native-inputs

View file

@ -71,8 +71,8 @@ (define-public nspr
in the Mozilla clients.")
(license license:mpl2.0)))
;;; Note: When updating, also test the build of the nss-certs package, which
;;; uses the same source as nss.
;;; Note: When updating, also update the nss-certs package, which cannot
;;; inherit from here.
(define-public nss
(package
(name "nss")