aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/import/hackage.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-04 23:54:12 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-04 23:54:12 +0100
commit5453de3dd88f28d5b3e7cff96df2c583e57bb23b (patch)
tree054859e51f5fa846bfe40085379550a2268e06e3 /guix/scripts/import/hackage.scm
parent5107232f82d31e709d7f0a8c684a40401b5c532e (diff)
downloadgnu-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/scripts/import/hackage.scm')
-rw-r--r--guix/scripts/import/hackage.scm6
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 ...)