import: stackage: Fix typo.

* guix/import/stackage.scm (latest-lts-release): Fix spelling of ‘if’.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-09 22:29:38 +02:00
parent b70e612b9a
commit 35b00d4caa
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -122,7 +122,7 @@ (define latest-lts-release
(let ((pkgs-info (mlambda () (lts-info-packages (stackage-lts-info-fetch)))))
(lambda* (package)
"Return an <upstream-source> for the latest Stackage LTS release of
PACKAGE or #f it the package is not included in the Stackage LTS release."
PACKAGE or #f if the package is not included in the Stackage LTS release."
(let* ((hackage-name (guix-package->hackage-name package))
(version (lts-package-version (pkgs-info) hackage-name))
(name-version (hackage-name-version hackage-name version)))