~ruther/guix-local

5453de3dd88f28d5b3e7cff96df2c583e57bb23b — Ludovic Courtès 10 years ago 5107232
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'.
1 files changed, 3 insertions(+), 3 deletions(-)

M guix/scripts/import/hackage.scm
M guix/scripts/import/hackage.scm => guix/scripts/import/hackage.scm +3 -3
@@ 134,9 134,9 @@ from standard input~%")))))
          ((package-name)
           (run-importer package-name opts
                         (lambda ()
                           (leave
                            (_ "failed to download cabal file for package '~a'~%"))
                           package-name)))
                           (leave (_ "failed to download cabal file \
for package '~a'~%")
                                  package-name))))
          (()
           (leave (_ "too few arguments~%")))
          ((many ...)