Created
December 21, 2016 03:20
-
-
Save chris-martin/a6299d7c035e1432f46928fd0fa7507f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chris@renzo ~> cat ~/.stack/config.yaml | |
# This file contains default non-project-specific settings for 'stack', used | |
# in all projects. For more information about stack's configuration, see | |
# http://docs.haskellstack.org/en/stable/yaml_configuration.html | |
# | |
nix: | |
enable: true | |
pure: false | |
shell-file: /home/chris/.stack/shell.nix | |
chris@renzo ~> cat ~/.stack/shell.nix | |
{ pkgs ? import <nixpkgs> {}, ghc ? pkgs.ghc }: | |
with pkgs; | |
haskell.lib.buildStackProject { | |
name = "default-stack-shell"; | |
inherit ghc; | |
buildInputs = [ zlib ]; | |
# https://github.com/commercialhaskell/stack/issues/2358 | |
LANG = "en_US.UTF-8"; | |
# https://github.com/commercialhaskell/stack/commit/568938da | |
TMPDIR = "/tmp"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment