linux-modules: module-soft-dependencies: Remove colon from section names.

Follow-up to 1a5f46621b.

* gnu/build/linux-modules.scm (module-soft-dependencies): Remove colon from
section names.
This commit is contained in:
Danny Milosavljevic 2019-01-25 18:23:19 +01:00
parent 1a5f46621b
commit 519be98c35
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -114,7 +114,7 @@ (define (parse-softdep text)
(match tokens
((token rest ...)
(if (string=? (string-take-right token 1) ":") ; section
(loop value rest (string-trim-both token))
(loop value rest (string-trim-both (string-drop-right token 1)))
(loop (cons (cons section token) value) rest section)))
(()
value))))