Fix LOCALE_ARCHIVE handling
This commit is contained in:
parent
3d65a59e9f
commit
7c3fa29e30
@ -50,7 +50,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
# Some comments in files are in UTF-8, so include the locale needed by GHC runtime.
|
# Some comments in files are in UTF-8, so include the locale needed by GHC runtime.
|
||||||
export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive
|
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
# PAKCS must be build in place due to embedded filesystem references placed by swi.
|
# PAKCS must be build in place due to embedded filesystem references placed by swi.
|
||||||
|
@ -9291,7 +9291,7 @@ let
|
|||||||
md5 = "d9822ad0238e17b382a3c756ea94fe0d";
|
md5 = "d9822ad0238e17b382a3c756ea94fe0d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ nose pillow pkgs.gfortran ];
|
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
|
||||||
propagatedBuildInputs = with self; [ numpy scipy pkgs.atlas ];
|
propagatedBuildInputs = with self; [ numpy scipy pkgs.atlas ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -9300,7 +9300,7 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
LOCALE_ARCHIVE=${pkgs.glibcLocales} LC_ALL="en_US.UTF-8" HOME=$TMPDIR ATLAS="" nosetests
|
LC_ALL="en_US.UTF-8" HOME=$TMPDIR ATLAS="" nosetests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user