guix-commits
[Top][All Lists]
Advanced

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

09/09: Tweak which duplicate packages to select


From: Christopher Baines
Subject: 09/09: Tweak which duplicate packages to select
Date: Wed, 19 Jul 2023 08:37:13 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit de6d38016d0392327e43393e45320799ffa0fadf
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Mon Jul 17 13:28:42 2023 +0100

    Tweak which duplicate packages to select
    
    This helps with replacements, as the original package is usually higher up 
in
    the file.
---
 guix-data-service/jobs/load-new-guix-revision.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix-data-service/jobs/load-new-guix-revision.scm 
b/guix-data-service/jobs/load-new-guix-revision.scm
index 6f61bf4..53e0037 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -970,7 +970,7 @@ WHERE job_id = $1")
                        ;; location.
                        (let ((a-location (inferior-package-location a))
                              (b-location (inferior-package-location b)))
-                         (< (location-line a-location)
+                         (> (location-line a-location)
                             (location-line b-location)))
                        (string<? a-version
                                  b-version)))



reply via email to

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