~ruther/guix-local

acef524961d4da3464dbc392699fbe7deb0a467b — Saku Laesvuori 2 years ago 160385c
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/stackage.scm
M guix/import/stackage.scm => guix/import/stackage.scm +1 -1
@@ 92,7 92,7 @@
  "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)))


;;;