guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/09: import: hackage: Remove reference to unbound variable.


From: Ludovic Courtès
Subject: 03/09: import: hackage: Remove reference to unbound variable.
Date: Wed, 22 Jul 2015 20:56:51 +0000

civodul pushed a commit to branch master
in repository guix.

commit 2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f
Author: Ludovic Courtès <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]