From 2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 22 Jul 2015 18:08:48 +0200 Subject: 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'. --- guix/scripts/import/hackage.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/scripts/import/hackage.scm b/guix/scripts/import/hackage.scm index e5e9b0ed64..1e33556481 100644 --- a/guix/scripts/import/hackage.scm +++ b/guix/scripts/import/hackage.scm @@ -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 -- cgit 1.4.1