summaryrefslogtreecommitdiff
path: root/guix/scripts/hash.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-20 17:51:39 +0900
committerLudovic Courtès <ludo@gnu.org>2016-09-20 23:22:42 +0900
commite465d9e19087ab150f7e31f21c09e4a147b93b36 (patch)
tree83562de5353e39d27afb7270b560428f5285a666 /guix/scripts/hash.scm
parent232ccbefc05aa7fbd3ea8b8f71a65bafc178a28a (diff)
ui: Do not shadow '_' where it's used as a literal syntax match.
Fixes compilation with Guile 2.1. Reported by Mu Lei. * guix/ui.scm (report-load-error) (warn-about-load-error, read/eval-package-expression): Use 'rest' instead of '_' as the pattern variable name. * gnu/packages.scm (%find-package): Likewise. * guix/scripts/build.scm (transform-package-inputs): Likewise. * guix/scripts/hash.scm (guix-hash): Likewise. * guix/scripts/import/gnu.scm (%options, guix-import-gnu): Likewise. * guix/scripts/import/nix.scm (guix-import-nix): Likewise. * guix/scripts/offload.scm (build-machines): Likewise. * guix/scripts/refresh.scm (%options): Likewise. * guix/scripts/substitute.scm (narinfo-signature->canonical-sexp): Likewise.
Diffstat (limited to 'guix/scripts/hash.scm')
-rw-r--r--guix/scripts/hash.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/hash.scm b/guix/scripts/hash.scm
index a57602ab51..a6eced92fb 100644
--- a/guix/scripts/hash.scm
+++ b/guix/scripts/hash.scm
@@ -149,5 +149,5 @@ and 'hexadecimal' can be used as well).\n"))
(lambda args
(leave (_ "~a~%")
(strerror (system-error-errno args))))))
- (_
+ (x
(leave (_ "wrong number of arguments~%"))))))