diff options
-rw-r--r-- | guix/build/kconfig.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/build/kconfig.scm b/guix/build/kconfig.scm index 192bc17c21..7c1f128ffd 100644 --- a/guix/build/kconfig.scm +++ b/guix/build/kconfig.scm @@ -102,10 +102,10 @@ An error is thrown for invalid configurations. ;; The search for duplicates is done. ;; Return the alist or throw an error on duplicates. (if (null? duplicates) - alist + (reverse alist) (error (format #f "duplicate configurations in ~a" defconfig) - duplicates)) + (reverse duplicates))) ;; Continue the search for duplicates. (loop (cdr keys) (if (member (first keys) (cdr keys)) |