unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61309: chicken bug in importer: Unrecognized keyword: #:repo->guix-package
@ 2023-02-06  3:38 jgart via Bug reports for GNU Guix
  2023-02-13 20:45 ` bug#61309: [PATCH] import: egg: Ignore extra keys for #:repo->guix-package Josselin Poiret via Bug reports for GNU Guix
  2023-02-13 21:04 ` jgart via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: jgart via Bug reports for GNU Guix @ 2023-02-06  3:38 UTC (permalink / raw)
  To: 61309

🐤🐛

I run this:

guix import egg spiffy -r

I get this:

Backtrace:
           7 (primitive-load "/home/jgart/.config/guix/current/bin/g…")
In guix/ui.scm:
   2279:7  6 (run-guix . _)
  2242:10  5 (run-guix-command _ . _)
In guix/scripts/import.scm:
    92:11  4 (guix-import . _)
In guix/scripts/import/egg.scm:
    96:19  3 (guix-import-egg . _)
In guix/import/utils.scm:
   637:27  2 (recursive-import "spiffy" #:repo->guix-package _ # _ . #)
   629:33  1 (lookup-node "spiffy" #f)
In guix/import/egg.scm:
   329:41  0 (_ _ #:version _ #:repo _)

guix/import/egg.scm:329:41: Unrecognized keyword: #:repo->guix-package

My guix describe:

Generation 39	Feb 03 2023 20:27:46	(current)
  guix c3e50c7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c3e50c731d8c175133cae1869e445cbb7a3b4d6f




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#61309: [PATCH] import: egg: Ignore extra keys for #:repo->guix-package
  2023-02-06  3:38 bug#61309: chicken bug in importer: Unrecognized keyword: #:repo->guix-package jgart via Bug reports for GNU Guix
@ 2023-02-13 20:45 ` Josselin Poiret via Bug reports for GNU Guix
  2023-02-13 21:04 ` jgart via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-02-13 20:45 UTC (permalink / raw)
  To: jgart, 61309; +Cc: Josselin Poiret

* guix/import/egg.scm (egg-recursive-import): Do it.

Fixes: #61309
---
 guix/import/egg.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/import/egg.scm b/guix/import/egg.scm
index 90d97909b5..0555f24703 100644
--- a/guix/import/egg.scm
+++ b/guix/import/egg.scm
@@ -326,7 +326,8 @@ (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)
+                    #: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: dd724cfad45d76b9dcc5b073876c995715c92a07
-- 
2.39.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#61309: [PATCH] import: egg: Ignore extra keys for #:repo->guix-package
  2023-02-06  3:38 bug#61309: chicken bug in importer: Unrecognized keyword: #:repo->guix-package jgart via Bug reports for GNU Guix
  2023-02-13 20:45 ` bug#61309: [PATCH] import: egg: Ignore extra keys for #:repo->guix-package Josselin Poiret via Bug reports for GNU Guix
@ 2023-02-13 21:04 ` jgart via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: jgart via Bug reports for GNU Guix @ 2023-02-13 21:04 UTC (permalink / raw)
  To: Josselin Poiret, 61309

> + #:allow-other-keys)

Ah, nice, thanks, allow-other-keys all the way down!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-13 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06  3:38 bug#61309: chicken bug in importer: Unrecognized keyword: #:repo->guix-package jgart via Bug reports for GNU Guix
2023-02-13 20:45 ` bug#61309: [PATCH] import: egg: Ignore extra keys for #:repo->guix-package Josselin Poiret via Bug reports for GNU Guix
2023-02-13 21:04 ` jgart via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).