Skip to content
Snippets Groups Projects
Commit 2c59cbc2 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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'.
parent 1acd8d22
No related branches found
No related tags found
No related merge requests found
...@@ -125,8 +125,8 @@ (define (run-importer package-name opts error-fn) ...@@ -125,8 +125,8 @@ (define (run-importer package-name opts error-fn)
(() (()
(run-importer "stdin" opts (run-importer "stdin" opts
(lambda () (lambda ()
(leave (_ "failed to import cabal file from '~a'~%")) (leave (_ "failed to import cabal file \
package-name))) from standard input~%")))))
((many ...) ((many ...)
(leave (_ "too many arguments~%")))) (leave (_ "too many arguments~%"))))
(match args (match args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment