diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index 719883d4a9..a9241aa20d 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -591,7 +591,8 @@ (define (options->updaters opts) (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