guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: branch master updated: gnu: guile-lzlib: Switch to ‘url-fetch’.
Date: Tue, 30 Apr 2024 05:07:15 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new df3d30819e gnu: guile-lzlib: Switch to ‘url-fetch’.
df3d30819e is described below

commit df3d30819e650a490ef39dd6692740bb13263c75
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Apr 30 11:03:10 2024 +0200

    gnu: guile-lzlib: Switch to ‘url-fetch’.
    
    Fixes <https://issues.guix.gnu.org/70659>.
    
    Fixes a regression introduced in
    7cef6b7ba555a9dfaf6d09cb7e112b0df77d5141, 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
---
 gnu/packages/guile.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 8c634c26e3..58a044fa9d 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -926,12 +926,17 @@ Guile's foreign function interface.")
     (home-page "https://notabug.org/guile-lzlib/guile-lzlib";)
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference (url home-page) (commit version)))
-       (file-name (git-file-name name version))
+       ;; Note: Until "builtin:git-download" can be taken for granted, this
+       ;; must be 'url-fetch', not 'git-fetch', to avoid a circular dependency
+       ;; 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
         (base32
-         "19870njb3q5h6zy239gvra92ji077c6s8xm0hgcn42z74q5wqnk6"))))
+         "1whgmwkr1v8m63p4aaqn8blwl9vcrswwhbfv4bm0aghl5a6rryd7"))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags



reply via email to

[Prev in Thread] Current Thread [Next in Thread]