commit
a38ea942f5
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user