git.iko.soy/rowtype-yoga/purescript-native
on cpp help sign in
23 lines 766 B history raw
1#
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#
6# You may need to set LC_ALL when building, e.g.
7# LC_ALL=en_US.iso88591 stack --nix build; see e.g. https://github.com/koalaman/shellcheck/issues/324
8#
9#
10{ pkgs ?
11 import (builtins.fetchTarball {
12 name = "nixos-release-19.03";
13 url = https://github.com/nixos/nixpkgs/archive/34c7eb7545d155cc5b6f499b23a7cb1c96ab4d59.tar.gz;
14 sha256 = "11z6ajj108fy2q5g8y4higlcaqncrbjm3dnv17pvif6avagw4mcb";
15 }) {}
16}:
18pkgs.haskell.lib.buildStackProject {
19 name = "default-stack-shell";
20 ghc = pkgs.haskell.compiler.ghc864;
21 buildInputs = with pkgs; [git git-lfs gmp ncurses zlib];
22 LANG = "en_US.UTF-8";