civodul pushed a commit to branch master
in repository guix.

commit 98aca7a2b6250e7f6a2ff3a93b29d0dea896ad21
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Dec 12 23:28:51 2024 +0100

    etc: upgrade: Attempt to upgrade the latest libgit2, not the default one.
    
    * etc/manifests/upgrade.scm (security-packages): Use
    ‘specification->package’ for libgit2.
    
    Change-Id: I6901ff6d40c645b292aab4779acf1c0547fdc024
---
 etc/manifests/upgrade.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/etc/manifests/upgrade.scm b/etc/manifests/upgrade.scm
index 9c97d2b4e5..03a7d6d319 100644
--- a/etc/manifests/upgrade.scm
+++ b/etc/manifests/upgrade.scm
@@ -32,7 +32,8 @@
              ((guix import github) #:select (%github-api))
              (guix build-system gnu)
              (guix build-system cmake)
-             ((gnu packages) #:select (all-packages))
+             ((gnu packages)
+              #:select (all-packages specification->package))
 
              (gnu packages backup)
              (gnu packages curl)
@@ -40,7 +41,6 @@
              (gnu packages gnupg)
              (gnu packages ssh)
              (gnu packages tls)
-             (gnu packages version-control)
              (gnu packages xorg)
 
              (ice-9 match)
@@ -60,9 +60,12 @@
         curl-ssh
 
         libarchive
-        libgit2
         libssh
 
+        ;; Since there are several libgit2 versions, pick the latest one and
+        ;; compute the upgrade against that one.
+        (specification->package "libgit2")
+
         ;; GnuPG.
         libassuan
         libgpg-error

Reply via email to