me
/
guix
Archived
1
0
Fork 0

gnu: guile-lzlib: Switch to ‘url-fetch’.

Fixes <https://issues.guix.gnu.org/70659>.

Fixes a regression introduced in
7cef6b7ba5, which would create a circular
dependency on systems lacking “builtin:git-download”.

* gnu/packages/guile.scm (guile-lzlib)[source]: Switch to ‘git-fetch’.

Reported-by: Peacememories <peacememories@posteo.net>
Change-Id: Iad684564d0dc18f0a7a76e1c4c6464ba4f39f2e8
master
Ludovic Courtès 2024-04-30 11:03:10 +02:00
parent ddf3759645
commit df3d30819e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 4 deletions

View File

@ -926,12 +926,17 @@ Guile's foreign function interface.")
(home-page "https://notabug.org/guile-lzlib/guile-lzlib") (home-page "https://notabug.org/guile-lzlib/guile-lzlib")
(source (source
(origin (origin
(method git-fetch) ;; Note: Until "builtin:git-download" can be taken for granted, this
(uri (git-reference (url home-page) (commit version))) ;; must be 'url-fetch', not 'git-fetch', to avoid a circular dependency
(file-name (git-file-name name version)) ;; with the 'git-fetch' derivation on systems that lack
;; "builtin:git-download".
(method url-fetch)
(uri (string-append home-page "/archive/" version ".tar.gz"))
;; content nar-sha256: 19870njb3q5h6zy239gvra92ji077c6s8xm0hgcn42z74q5wqnk6
(file-name (string-append "guile-lzlib-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"19870njb3q5h6zy239gvra92ji077c6s8xm0hgcn42z74q5wqnk6")))) "1whgmwkr1v8m63p4aaqn8blwl9vcrswwhbfv4bm0aghl5a6rryd7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags '(#:make-flags