guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 71e1787a35c6d72c76c8489205ce80a8d289268d
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 9 23:59:28 2026 +0100

    import: nuget: Fix bug in version spec parsing.
    
    * guix/import/nuget.scm (parse-nuget-range->primitives): Modify.
    
    Change-Id: I38d45596f22aee9075aa60d714240aee0de4a24e
---
 guix/import/nuget.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/nuget.scm b/guix/import/nuget.scm
index a8060b2730..609e05a8f8 100644
--- a/guix/import/nuget.scm
+++ b/guix/import/nuget.scm
@@ -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))) '()))

Reply via email to