diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index 719883d4a91..a9241aa20d6 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -591,7 +591,8 @@ all are dependent packages: ~{~a~^ ~}~%") (string-append (config-directory) "/upstream/trustedkeys.kbx")))) (let* ((spec-line - (compose location->string + (compose (cut string-trim-right <> char-set:digit) + location->string package-location update-spec-package)) ;; Sort the specs so that we update packages from the