civodul pushed a commit to branch master
in repository guix.

commit 2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f
Author: Ludovic Courtès <l...@gnu.org>
Date:   Wed Jul 22 18:08:48 2015 +0200

    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 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/import/hackage.scm b/guix/scripts/import/hackage.scm
index e5e9b0e..1e33556 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

Reply via email to