From 68330e7797821bb5196c31cef8bf82a90b41a06c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 20 Dec 2022 16:37:53 -0500 Subject: [PATCH] kconfig: Streamline comment in 'modify-defconfig'. * guix/build/kconfig.scm (modify-defconfig): Streamline comment. --- guix/build/kconfig.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guix/build/kconfig.scm b/guix/build/kconfig.scm index 7c1f128ffd..0c9ef6baff 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)