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.
master
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
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ contains module names, not actual file names."
(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))))