mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 08:07:29 +01:00
scripts/refresh: Remove column from spec line before sorting.
We want to sort by file and line number, but the column number messes
everything up.
This is a follow-up to commit b43841c124
.
* guix/scripts/refresh.scm (guix-refresh): Trim the digits on the right of the
location string before comparing them.
This commit is contained in:
parent
ad08f9331f
commit
eda2c23874
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue