Subject: [PATCH] import: egg: Fix recursive imports.

From: Ekaitz Zarraga <[email-masked]>
Date: Thu, 28 Nov 2024 10:34:42 +0100

Fixes #74565.

* guix/import/egg.scm (egg-recursive-import) <#:repo->guix-package>: Add
`#:allow-other-keys`.

Change-Id: I97ad2d1aaf664c8dc18965eb2a497aa0a76062d7
---
 guix/import/egg.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/guix/import/egg.scm b/guix/import/egg.scm
index e3bc158475..9691f8c5ff 100644
--- a/guix/import/egg.scm
+++ b/guix/import/egg.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2021 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2021 Sarah Morgensen <[email-masked]>
 ;;; Copyright © 2022 Hartmut Goebel <[email-masked]>
+;;; Copyright © 2024 Ekaitz Zarraga <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -322,8 +323,9 @@ (define egg->guix-package/m                   ;memoized variant
 (define* (egg-recursive-import package-name #:optional version)
   (recursive-import package-name
                     #:version version
-                    #:repo->guix-package (lambda* (name #:key version repo)
-                                           (egg->guix-package/m name version))
+                    #:repo->guix-package
+                    (lambda* (name #:key version repo #:allow-other-keys)
+                             (egg->guix-package/m name version))
                     #:guix-name egg-name->guix-name))
 
 

base-commit: faf8ba9b43323dc61988a368690b20008611fc87
-- 
2.46.0