diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-11-04 23:54:12 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-04 23:54:12 +0100 |
commit | 5453de3dd88f28d5b3e7cff96df2c583e57bb23b (patch) | |
tree | 054859e51f5fa846bfe40085379550a2268e06e3 /guix | |
parent | 5107232f82d31e709d7f0a8c684a40401b5c532e (diff) | |
download | gnu-guix-5453de3dd88f28d5b3e7cff96df2c583e57bb23b.tar gnu-guix-5453de3dd88f28d5b3e7cff96df2c583e57bb23b.tar.gz |
import: hackage: Fix invalid use of 'leave'.
Reported by Paul van der Walt <paul@denknerd.org>
in <http://bugs.gnu.org/21829>.
* guix/scripts/import/hackage.scm (guix-import-hackage): Add missing
argument in call to 'leave'.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/import/hackage.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/scripts/import/hackage.scm b/guix/scripts/import/hackage.scm index 8c4e640bf3..97d042be3e 100644 --- a/guix/scripts/import/hackage.scm +++ b/guix/scripts/import/hackage.scm @@ -134,9 +134,9 @@ from standard input~%"))))) ((package-name) (run-importer package-name opts (lambda () - (leave - (_ "failed to download cabal file for package '~a'~%")) - package-name))) + (leave (_ "failed to download cabal file \ +for package '~a'~%") + package-name)))) (() (leave (_ "too few arguments~%"))) ((many ...) |