[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: guix: import: hackage: Fix crash on recursive import
From: |
guix-commits |
Subject: |
01/03: guix: import: hackage: Fix crash on recursive import |
Date: |
Sun, 3 Dec 2023 03:12:07 -0500 (EST) |
lbraun pushed a commit to branch master
in repository guix.
commit 160385c013b0403af427b61b1d1cc9a75bc3315d
Author: Saku Laesvuori <saku@laesvuori.fi>
AuthorDate: Sat Dec 2 19:23:04 2023 +0200
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>
---
guix/import/hackage.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)