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.
parent
ad08f9331f
commit
eda2c23874
|
@ -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
|
||||
|
|
Reference in New Issue