aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages.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 /gnu/packages.scm
parent232ccbefc05aa7fbd3ea8b8f71a65bafc178a28a (diff)
downloadpatches-e465d9e19087ab150f7e31f21c09e4a147b93b36.tar
patches-e465d9e19087ab150f7e31f21c09e4a147b93b36.tar.gz
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 'gnu/packages.scm')
-rw-r--r--gnu/packages.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages.scm b/gnu/packages.scm
index 5d60423a3a..f55c294a18 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -313,7 +313,7 @@ use NAME@VERSION instead~%")))
new)
(#f
pkg)))
- (_
+ (x
(if version
(leave (_ "~A: package not found for version ~a~%") name version)
(if (not fallback?)