gnu: tcsh: Use ISO-8859-1 when patching "tests/testsuite".
* gnu/packages/tcsh.scm (tcsh)[arguments]: Set %DEFAULT-PORT-ENCODING before substituting "tests/testsuite". Fixes build failure at <http://hydra.gnu.org/build/266962/nixlog/1/raw>.master
parent
7e75a6739b
commit
e343024dc4
|
@ -58,7 +58,11 @@
|
||||||
(("; other_script.csh") "; /bin/sh other_script.csh"))
|
(("; other_script.csh") "; /bin/sh other_script.csh"))
|
||||||
;; Now, let's generate the test suite and patch it
|
;; Now, let's generate the test suite and patch it
|
||||||
(system* "make" "tests/testsuite")
|
(system* "make" "tests/testsuite")
|
||||||
(substitute* "tests/testsuite" (("/bin/sh") (which "sh"))))
|
|
||||||
|
;; This file is ISO-8859-1 encoded.
|
||||||
|
(with-fluids ((%default-port-encoding #f))
|
||||||
|
(substitute* "tests/testsuite"
|
||||||
|
(("/bin/sh") (which "sh")))))
|
||||||
(alist-cons-after
|
(alist-cons-after
|
||||||
'install 'post-install
|
'install 'post-install
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
|
Reference in New Issue