git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
nix build: revert LANG; add other gotchas header comments
commitc208363e9348c17a9b57612e1f05a69d0df04b50 authorBrandon Elam Barker <beb82@cornell.edu> dateMon 14 Oct 2019, 20:03 (7 years ago) parent08492ae
1 file changed+7−2
stack.nix+7−2
stack.nix+7−2
@@ -1,6 +1,11 @@
11#
2+# You may need to manually run `unset STACK_IN_NIX_SHELL`
3+# (doesn't work from a `shellHook`; see: https://github.com/commercialhaskell/stack/issues/5000
4+#
5+#
26# You may need to set LC_ALL when building, e.g.
3−# LC_ALL=en_US.iso88591 stack --nix build
7+# LC_ALL=en_US.iso88591 stack --nix build; see e.g. https://github.com/koalaman/shellcheck/issues/324
8+#
49#
510{ pkgs ? import <nixpkgs> {}, ghc ? pkgs.ghc }:
611
@@ -8,5 +13,5 @@ pkgs.haskell.lib.buildStackProject {
813 name = "default-stack-shell";
914 inherit ghc;
1015 buildInputs = with pkgs; [git git-lfs gmp ncurses zlib];
11− LANG = "en_US.iso88591";
16+ LANG = "en_US.UTF-8";
1217}