~ruther/guix-local

2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f — Ludovic Courtès 10 years ago 1acd8d2
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'.
1 files changed, 2 insertions(+), 2 deletions(-)

M guix/scripts/import/hackage.scm
M guix/scripts/import/hackage.scm => guix/scripts/import/hackage.scm +2 -2
@@ 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