Skip to content

Commit

Permalink
Add nix section to stack.yaml (disabled by default).
Browse files Browse the repository at this point in the history
This makes it possible to build and install Stack on systems where the
system dependencies (namely zlib) are not present or not installed at
the location GHC/Cabal expects them (e.g NixOS).
  • Loading branch information
mboes committed Dec 20, 2015
1 parent 2bf18b5 commit af454ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ image:
base: "fpco/ubuntu-with-libgmp:14.04"
entrypoints:
- stack

nix:
# --nix on the command-line to enable.
enable: false
packages:
- zlib

0 comments on commit af454ea

Please sign in to comment.