me
/
guix
Archived
1
0
Fork 0

gnu: guile2.0-git: Fix compilation of libgit2.

* gnu/packages/guile.scm (guile2.0-git): Inherit from what
'package-for-guile-2.0' returns.  Add 'inputs' field.
master
Ludovic Courtès 2019-11-23 16:10:03 +01:00
parent a3e5361b64
commit 60353203ed
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 1 deletions

View File

@ -623,7 +623,15 @@ manipulate repositories of the Git version control system.")
(license license:gpl3+)))
(define-public guile2.0-git
(package-for-guile-2.0 guile-git))
(let ((base (package-for-guile-2.0 guile-git)))
(package
(inherit base)
;; Libgit2's Guile test driver requires (ice-9 textual-ports), which is
;; not in Guile 2.0. Thus, keep LIBGIT2 as-is here (i.e., built against
;; Guile 2.2).
(inputs `(("libgit2" ,libgit2)
,@(srfi-1:alist-delete "libgit2"
(package-inputs base)))))))
;;; guile.scm ends here