me
/
guix
Archived
1
0
Fork 0

gnu: ghc: Remove installation of locale.

* gnu/packages/haskell.scm (ghc): Remove installation of locale from
  'unpack-and-fix-testsuite phase.
master
Federico Beffa 2015-03-08 09:10:44 +01:00
parent ee2a7f0789
commit ebaa68c019
1 changed files with 0 additions and 7 deletions

View File

@ -140,13 +140,6 @@
(copy-file (assoc-ref inputs "ghc-testsuite")
"ghc-testsuite.tar.xz")
(system* "tar" "xvf" "ghc-testsuite.tar.xz"))
;; We need to install an UTF-8 locale for the tests to produce results
;; identical to the expected ones.
(system* "localedef" "--no-archive"
"--prefix" (getcwd) "-i" "en_US"
"-f" "UTF-8" "./en_US.UTF-8")
(setenv "LOCPATH" (getcwd))
(setenv "LC_ALL" "en_US.UTF-8")
(substitute*
(list "testsuite/timeout/Makefile"
"testsuite/timeout/timeout.py"