gnu: guile-dbi: Update to 2.1.8.

* gnu/packages/guile-xyz.scm (guile-dbi): Update to 2.1.8.
[arguments]: Add chdir phase.
This commit is contained in:
Arun Isaac 2021-09-08 19:43:41 +05:30
parent 362e33700d
commit 658cc8b25f
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -1518,7 +1518,7 @@ (define-public guile-xosd
(define-public guile-dbi (define-public guile-dbi
(package (package
(name "guile-dbi") (name "guile-dbi")
(version "2.1.6") (version "2.1.8")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1527,7 +1527,7 @@ (define-public guile-dbi
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0nswd067gvpy9pnig409ympkw29akh9lb2i6g3w7r18g1s0ivah2")))) "123m4j82bi60s1v95pjh4djb7bh6zdwmljbpyg7zq8ni2gyal7lw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules (((guix build guile-build-system) `(#:modules (((guix build guile-build-system)
@ -1541,6 +1541,11 @@ (define-public guile-dbi
(target-guile-effective-version (assoc-ref %build-inputs "guile")))) (target-guile-effective-version (assoc-ref %build-inputs "guile"))))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
;; The upstream Git repository contains all the code, so change
;; to the directory specific to guile-dbi.
(chdir "guile-dbi")))
(add-after 'install 'patch-extension-path (add-after 'install 'patch-extension-path
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))