diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-22 18:08:48 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-22 22:56:41 +0200 |
commit | 2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f (patch) | |
tree | 9d83a602a0ef8e0cbd645a6ce0ef591b655c3342 | |
parent | 1acd8d22af743cd07cc4a1713278a183750bf4b0 (diff) | |
download | guix-2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f.tar guix-2c59cbc26ae8c6cd24df728adc0c97e330c7bc3f.tar.gz |
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'.
-rw-r--r-- | 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 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 |