diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-20 16:37:53 -0500 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-20 21:19:33 -0500 |
| commit | 68330e7797821bb5196c31cef8bf82a90b41a06c (patch) | |
| tree | bc75248b30f026419b25316480c934f0b0b27178 | |
| parent | 1d448662802309b0cb4886afefe8a91c2315ffa0 (diff) | |
kconfig: Streamline comment in 'modify-defconfig'.
* guix/build/kconfig.scm (modify-defconfig): Streamline comment.
| -rw-r--r-- | guix/build/kconfig.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/guix/build/kconfig.scm b/guix/build/kconfig.scm index 7c1f128ffd1..0c9ef6baff2 100644 --- a/guix/build/kconfig.scm +++ b/guix/build/kconfig.scm @@ -133,10 +133,8 @@ DEFCONFIG: \"CONFIG_F\") 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 - ;; string and or a list of strings is supported, each with newlines - ;; to separate configurations. - (config-pairs (map config-string->pair + ;; Normalize CONFIGS to a list of configuration pairs. + (let* ((config-pairs (map config-string->pair (append-map (cut string-split <> #\newline) (if (string? configs) (list configs) |
