Subject: [PATCH v3 5/7] guix: import: composer: Fix json->require.

From: Nicolas Graves <[email-masked]>
Date: Tue, 26 Sep 2023 12:31:42 +0200

---
 guix/import/composer.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/import/composer.scm b/guix/import/composer.scm
index 177dc63092..3acbbecf82 100644
--- a/guix/import/composer.scm
+++ b/guix/import/composer.scm
@@ -88,7 +88,8 @@ (define (json->require dict)
           ((((? (cut string-contains <> "/") name) . _)
              require ...)
            (loop (cons name result) require))
-          ((_ require ...) (loop result require))))
+          ((_ require ...) (loop result require))
+          (_ result)))
       '()))
 
 (define-json-mapping <composer-source> make-composer-source composer-source?
-- 
2.41.0