gnu: GnuTLS: Build with Guile 3.

This is a follow-up to commit b6bee63bed.

* gnu/packages/tls.scm (gnutls)[inputs]: Change from GUILE-2.2 to GUILE-3.0.
(guile3.0-gnutls): Rename to ...
(guile2.2-gnutls): ... this.  Use GUILE-2.2.
(guile3.0-gnutls): New variable.
This commit is contained in:
Marius Bakke 2020-03-17 10:39:47 +01:00
parent b6bee63bed
commit 67a3c8ed15
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -229,7 +229,7 @@ (define-public gnutls
("datefudge" ,datefudge) ;tests rely on 'datefudge'
("util-linux" ,util-linux))) ;one test needs 'setsid'
(inputs
`(("guile" ,guile-2.2)))
`(("guile" ,guile-3.0)))
(propagated-inputs
;; These are all in the 'Requires.private' field of gnutls.pc.
`(("libtasn1" ,libtasn1)
@ -266,14 +266,16 @@ (define-public gnutls/dane
(inputs `(("unbound" ,unbound)
,@(package-inputs gnutls)))))
(define-public guile3.0-gnutls
(define-public guile2.2-gnutls
(package
(inherit gnutls)
(name "guile3.0-gnutls")
(inputs `(("guile" ,guile-next)
(name "guile2.2-gnutls")
(inputs `(("guile" ,guile-2.2)
,@(alist-delete "guile"
(package-inputs gnutls))))))
(define-public guile3.0-gnutls gnutls)
(define-public openssl
(package
(name "openssl")