bitcoin: fix tests on darwin by using en_US.UTF-8 instead of C.UTF-8

This commit is contained in:
Pavol Rusnak 2021-11-21 20:01:05 +01:00
parent ef9bcf24ca
commit 783dbd1ba8
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
doCheck = true;
checkFlags =
[ "LC_ALL=C.UTF-8" ]
[ "LC_ALL=en_US.UTF-8" ]
# QT_PLUGIN_PATH needs to be set when executing QT, which is needed when testing Bitcoin's GUI.
# See also https://github.com/NixOS/nixpkgs/issues/24256
++ optional withGui "QT_PLUGIN_PATH=${qtbase}/${qtbase.qtPluginPrefix}";