import: hackage: Fix invalid use of 'leave'.

Reported by Paul van der Walt <paul@denknerd.org>
in <http://bugs.gnu.org/21829>.

* guix/scripts/import/hackage.scm (guix-import-hackage): Add missing
  argument in call to 'leave'.
This commit is contained in:
Ludovic Courtès 2015-11-04 23:54:12 +01:00
parent 5107232f82
commit 5453de3dd8

View file

@ -134,9 +134,9 @@ (define (run-importer package-name opts error-fn)
((package-name) ((package-name)
(run-importer package-name opts (run-importer package-name opts
(lambda () (lambda ()
(leave (leave (_ "failed to download cabal file \
(_ "failed to download cabal file for package '~a'~%")) for package '~a'~%")
package-name))) package-name))))
(() (()
(leave (_ "too few arguments~%"))) (leave (_ "too few arguments~%")))
((many ...) ((many ...)