@@ -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}