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

Follow-up to 1a5f46621b44aa1458ad7acd4eca5fe1d4574f92.

* 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

@ -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))))