me
/
guix
Archived
1
0
Fork 0

kconfig: Streamline comment in 'modify-defconfig'.

* guix/build/kconfig.scm (modify-defconfig): Streamline comment.
Maxim Cournoyer 2022-12-20 16:37:53 -05:00
parent 1d44866280
commit 68330e7797
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 2 additions and 4 deletions

View File

@ -133,10 +133,8 @@ DEFCONFIG:
\"CONFIG_F\") \"CONFIG_F\")
Instead of a list, CONFIGS can be a string with one configuration per line." Instead of a list, CONFIGS can be a string with one configuration per line."
(let* (;; Split the configs into a list of single configurations. Both a ;; Normalize CONFIGS to a list of configuration pairs.
;; string and or a list of strings is supported, each with newlines (let* ((config-pairs (map config-string->pair
;; to separate configurations.
(config-pairs (map config-string->pair
(append-map (cut string-split <> #\newline) (append-map (cut string-split <> #\newline)
(if (string? configs) (if (string? configs)
(list configs) (list configs)