import: hackage: Remove reference to unbound variable.

* guix/scripts/import/hackage.scm (guix-import-hackage): Fix error message for
  imports from stdin, which referred to unbound variable 'package-name'.
This commit is contained in:
Ludovic Courtès 2015-07-22 18:08:48 +02:00
parent 1acd8d22af
commit 2c59cbc26a

View File

@ -125,8 +125,8 @@ version.\n"))
(()
(run-importer "stdin" opts
(lambda ()
(leave (_ "failed to import cabal file from '~a'~%"))
package-name)))
(leave (_ "failed to import cabal file \
from standard input~%")))))
((many ...)
(leave (_ "too many arguments~%"))))
(match args