mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
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:
parent
1acd8d22af
commit
2c59cbc26a
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ (define (run-importer package-name opts error-fn)
|
|||
(()
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue