1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

tests.pkgs-lib: Fix for darwin

This commit is contained in:
Robert Hensing 2022-04-04 14:41:40 +02:00
parent 337c72b5cd
commit 62d781f09b

View file

@ -77,7 +77,8 @@ stdenv.mkDerivation {
src = lib.sourceByRegex ./. [
".*\.java"
];
LANG = "C.UTF-8";
# On Linux, this can be C.UTF-8, but darwin + zulu requires en_US.UTF-8
LANG = "en_US.UTF-8";
buildPhase = ''
javac Main.java
'';