aboutsummaryrefslogtreecommitdiff
path: root/guix/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-02-28 01:10:24 +0100
committerLudovic Courtès <ludo@gnu.org>2015-02-28 01:10:24 +0100
commit4db87162e68e58031d71597a86b253072e18e2ac (patch)
tree910b23d9381407af7dd9b837a698f828322c80a9 /guix/packages.scm
parentca1e3ad2faa59d5b32289f84e0937fa476e21a1a (diff)
downloadgnu-guix-4db87162e68e58031d71597a86b253072e18e2ac.tar
gnu-guix-4db87162e68e58031d71597a86b253072e18e2ac.tar.gz
packages: Set the port conversion strategy to 'error'.
Suggested by Mark H Weaver. * guix/build/gnu-build-system.scm (gnu-build): Set %DEFAULT-PORT-CONVERSION-STRATEGY to 'error. * guix/packages.scm (patch-and-repack)[builder]: Likewise.
Diffstat (limited to 'guix/packages.scm')
-rw-r--r--guix/packages.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index b72a6ddc8e..fc5264673d 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -412,6 +412,9 @@ IMPORTED-MODULES specify modules to use/import for use by SNIPPET."
(srfi srfi-1)
(guix build utils))
+ ;; Encoding/decoding errors shouldn't be silent.
+ (fluid-set! %default-port-conversion-strategy 'error)
+
(let ((locales (assoc-ref %build-inputs "locales"))
(out (assoc-ref %outputs "out"))
(xz (assoc-ref %build-inputs "xz"))