Make it possible to compile using Stack on NixOS (#6439)

On NixOS, it is necessary to compile with `stack --nix`. It is
furthermore necessary to provide zlib headers when `--nix` is enabled.
This commit is contained in:
Mathieu Boespflug 2020-06-08 02:32:16 +02:00 committed by GitHub
parent 7c6dbd37eb
commit 9d076ed7ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,3 +33,5 @@ extra-deps:
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-14.6
nix:
packages: [zlib]