From 2b7fe6f95769a134f55f277f7d5575530467babd Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 26 Jul 2020 16:11:03 -0400 Subject: fix(nix/buildLisp): Set LANG to C.UTF-8 on program builds This was already happening for libraries, but not for programs - as a result, programs built with libraries that contained unicode (eg cl-unicode, uax-15, ...) would fail to build due to character encoding issues when loading the FASLs. Change-Id: I66149b585e85b213d0c026153140a1925536bd29 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1469 Tested-by: BuildkiteCI Reviewed-by: tazjin --- nix/buildLisp/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nix/buildLisp/default.nix') diff --git a/nix/buildLisp/default.nix b/nix/buildLisp/default.nix index 5d9861891b..2ee635d4c1 100644 --- a/nix/buildLisp/default.nix +++ b/nix/buildLisp/default.nix @@ -146,6 +146,7 @@ let in runCommandNoCC "${name}" { nativeBuildInputs = [ makeWrapper ]; LD_LIBRARY_PATH = libPath; + LANG = "C.UTF-8"; } '' mkdir -p $out/bin -- cgit 1.4.1