Merge pull request #32653 from vaibhavsagar/patch-1

Update haskell.md
This commit is contained in:
Pascal Wittmann 2017-12-14 09:08:03 +01:00 committed by GitHub
commit a38ea942f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -777,14 +777,14 @@ to find out the store path of the system's zlib library. Now, you can
stack --extra-lib-dirs=/nix/store/alsvwzkiw4b7ip38l4nlfjijdvg3fvzn-zlib-1.2.8/lib build stack --extra-lib-dirs=/nix/store/alsvwzkiw4b7ip38l4nlfjijdvg3fvzn-zlib-1.2.8/lib build
``` ```
Typically, you'll need `--extra-include-dirs` as well. It's possible Typically, you'll need `--extra-include-dirs` as well. It's possible
to add those flag to the project's `stack.yaml` or your user's to add those flag to the project's `stack.yaml` or your user's
global `~/.stack/global/stack.yaml` file so that you don't have to global `~/.stack/global/stack.yaml` file so that you don't have to
specify them manually every time. But again, you're likely better off specify them manually every time. But again, you're likely better off
using Stack's Nix support instead. using Stack's Nix support instead.
The same thing applies to `cabal configure`, of course, if you're The same thing applies to `cabal configure`, of course, if you're
building with `cabal-install` instead of Stack. building with `cabal-install` instead of Stack.
### Creating statically linked binaries ### Creating statically linked binaries