mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
import: nuget: Fix bug in version spec parsing.
* guix/import/nuget.scm (parse-nuget-range->primitives): Modify. Change-Id: I38d45596f22aee9075aa60d714240aee0de4a24e
This commit is contained in:
parent
811ee1ab9f
commit
71e1787a35
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ primitives suitable for the 'semver-range' constructor."
|
|||
'<)))
|
||||
(and=> (string->semver/safe max-ver-str)
|
||||
(cute list op <>)))))))
|
||||
(let ((m-exact (string-match "^\\[([0-9][^\\]]*)\\]$" str)))
|
||||
(let ((m-exact (string-match "^\\[([0-9][^]]*)\\]$" str)))
|
||||
(if m-exact
|
||||
(let ((slice (string->partial-semver (match:substring m-exact 1))))
|
||||
(if slice (list `((= ,slice))) '()))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue