gjs: Fix locale detection
The build was complaining: meson.build:660: WARNING: Your libc does not have the C.UTF-8 locale and no other suitable UTF-8 fallback locale could be found. You can still build GJS, but some tests will fail. The tests do not actually seem to be affected but still.
This commit is contained in:
parent
6635e78fad
commit
5d39d988dc
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
, dbus
|
||||
, gdk-pixbuf
|
||||
, makeWrapper
|
||||
, which
|
||||
, xvfb_run
|
||||
, nixosTests
|
||||
}:
|
||||
|
@ -42,6 +43,7 @@ in stdenv.mkDerivation rec {
|
|||
ninja
|
||||
pkgconfig
|
||||
makeWrapper
|
||||
which # for locale detection
|
||||
libxml2 # for xml-stripblanks
|
||||
];
|
||||
|
||||
|
@ -77,6 +79,7 @@ in stdenv.mkDerivation rec {
|
|||
doCheck = true;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build/choose-tests-locale.sh
|
||||
substituteInPlace installed-tests/debugger-test.sh --subst-var-by gjsConsole $out/bin/gjs-console
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue