mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
guix: import: stackage: Fix crash on recursive import
* guix/import/stackage.scm (lts-package-version): Call stackage-package-version only when the package is found. Change-Id: Ic8d7c1b7a42a9c1a6cbba567e148706507a53ee3 Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This commit is contained in:
parent
160385c013
commit
acef524961
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ (define (lts-package-version packages name)
|
|||
"Return the version of the package with upstream NAME included in PACKAGES."
|
||||
(let ((pkg (find (lambda (pkg) (string=? (stackage-package-name pkg) name))
|
||||
packages)))
|
||||
(stackage-package-version pkg)))
|
||||
(and=> pkg stackage-package-version)))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Loading…
Reference in a new issue