summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2022-04-30 15:39:51 +0200
committerLars-Dominik Braun <lars@6xq.net>2022-06-06 13:26:45 +0200
commit001e0bac99c977d2ff04910295b154f91aa3d369 (patch)
tree2a9001111e47d663e69a2e9a75b9e95fabf52961 /guix
parent0972feaff1f766c1759d0b89876132ae473725ce (diff)
downloadguix-001e0bac99c977d2ff04910295b154f91aa3d369.tar.gz
guix-001e0bac99c977d2ff04910295b154f91aa3d369.tar.xz
import: cabal: Allow properties without space between key and value.
* guix/import/cabal.scm (lex-word): Add colon to delimiters. * tests/hackage.scm (test-cabal-property-no-space): New variable. ("hackage->guix-package test properties without space"): New test.
Diffstat (limited to 'guix')
-rw-r--r--guix/import/cabal.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/cabal.scm b/guix/import/cabal.scm
index 364fcc3176..9f3862fa14 100644
--- a/guix/import/cabal.scm
+++ b/guix/import/cabal.scm
@@ -573,7 +573,7 @@ location."
(define (lex-word port loc)
"Process tokens which can be recognized by reading the next word form PORT.
LOC is the current port location."
- (let* ((w (read-delimited " <>=()\t\n" port 'peek)))
+ (let* ((w (read-delimited " <>=():\t\n" port 'peek)))
(cond ((is-if w) (lex-if loc))
((is-elif w) (lex-elif loc))
((is-test w port) (lex-test w loc))