diff options
author | Saku Laesvuori <saku@laesvuori.fi> | 2023-12-02 19:23:04 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2023-12-03 09:11:29 +0100 |
commit | 160385c013b0403af427b61b1d1cc9a75bc3315d (patch) | |
tree | afc5c34198ff17e284172bd18074f7351673f6e2 /guix | |
parent | 8267a3a206ed50cb16c885ffc40a1c0d4da68763 (diff) |
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>
Diffstat (limited to 'guix')
-rw-r--r-- | guix/import/hackage.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm index 9333bedbbd..bbaee73a06 100644 --- a/guix/import/hackage.scm +++ b/guix/import/hackage.scm @@ -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) |