guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4d50228576aa966e28f751e0f30511701aff8511
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Mar 5 16:31:23 2026 +0100

    gnu: guile-cv: Build from a version-control checkout.
    
    * gnu/packages/guile-xyz.scm (guile-cv)[source]: Switch to ‘git-fetch’.
    [arguments]: In ‘fix-guile-site-directory’ phase, remove call to
    ‘delete-file’.
    
    Change-Id: I5160d65536f0407f357c80a1a723dc5363dc590f
    Signed-off-by: Ludovic Courtès <[email protected]>
    Merges: #6981
---
 gnu/packages/guile-xyz.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 97afe8da27..0acd5694cc 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -5808,12 +5808,14 @@ processing filters.")
     (name "guile-cv")
     (version "0.4.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://gnu/guile-cv/guile-cv-"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://https.git.savannah.gnu.org/git/guile-cv.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "00620zxm1rxlws7vn1zp2zzcb6y6r3szzj6b4b9fyjb86k972izb"))))
+                "15qmhfiijca2468s8s9xhb0wskiy4wgym9p5jqi4xy30ddnpvyk2"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -5827,8 +5829,7 @@ processing filters.")
                 (("SITEDIR=\"\\$datadir/guile-cv\"")
                  "SITEDIR=\"$datadir/guile/site/$GUILE_EFFECTIVE_VERSION\"")
                 (("SITECCACHEDIR=\"\\$libdir/guile-cv/")
-                 "SITECCACHEDIR=\"$libdir/"))
-              (delete-file "configure")))         ;trigger 'bootstrap' phase
+                 "SITECCACHEDIR=\"$libdir/"))))
           (add-after 'unpack 'substitute-libs
             (lambda* (#:key inputs outputs #:allow-other-keys)
               (substitute* "cv/init.scm"

Reply via email to