guix: import: hackage: Fix crash on recursive import

Fixes: https://issues.guix.gnu.org/64734

* guix/import/hackage.scm (hackage-module->sexp): Return package names
  instead of <upstream-input> records.

Change-Id: Id428a8b903b4b59d44205ca366324a0a69a4e05b
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This commit is contained in:
Saku Laesvuori 2023-12-02 19:23:04 +02:00 committed by Lars-Dominik Braun
parent 8267a3a206
commit 160385c013
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ the hash of the Cabal file."
(synopsis ,(cabal-package-synopsis cabal))
(description ,(beautify-description (cabal-package-description cabal)))
(license ,(string->license (cabal-package-license cabal))))
inputs)))
(map upstream-input-name inputs))))
(define* (hackage->guix-package package-name #:key
(include-test-dependencies? #t)