Subject: `guix import egg' fails to import packages recursively
From: [email-masked]
To: [email-masked]
Cc: [email-masked]
Date: Wed, 27 Nov 2024 22:05:04 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix,

While testing the CHICKEN Scheme egg importer, I noticed it currently errors when importing recursively, as such:

```
lobo@drimys ~$ guix import egg spiffy -r
Backtrace:
           7 (primitive-load "/home/lobo/.config/guix/current/bin/gu…")
In guix/ui.scm:
   2330:7  6 (run-guix . _)
  2293:10  5 (run-guix-command _ . _)
In guix/scripts/import.scm:
     82:6  4 (guix-import . _)
In guix/scripts/import/egg.scm:
    96:19  3 (guix-import-egg . _)
In guix/import/utils.scm:
   667:27  2 (recursive-import "spiffy" #:repo->guix-package _ # _ . #)
   659:33  1 (lookup-node "spiffy" #f)
In guix/import/egg.scm:
   325:41  0 (_ _ #:version _ #:repo _)

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

This is running on a foreign distro (Debian), if it happens to be relevant. Below is the output of `guix describe' and `guix --version' in my machine, I pulled just before sending this bug report to make sure that it's still valid as of now (my installation was a couple weeks old):

```
lobo@drimys ~$ guix describe
Generation 4    Nov 27 2024 22:03:33    (current)
  guix 8a28ba7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 8a28ba76126cbbd2a6d61e864f576e7a7bd7a763
lobo@drimys ~$ guix --version
guix (GNU Guix) 8a28ba76126cbbd2a6d61e864f576e7a7bd7a763
Copyright (C) 2024 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
```

---
Lobo Torres
https://quiltro.org