on master help sign in
Merge pull request #3722 from CarstenKoenig/patch-1
ee47281Jan de Muijnck-Hughes
INSTALL.md+12−1
@@ -92,6 +92,17 @@ the required libraries and header files are available:
92
92
93* `stack build --nix`
93* `stack build --nix`
94
94
95+### before rebuilding new pulls
96+the default build will currently just reuse `.ibc` files which can result
97+in build-failures in the `Building libraries...` phase.
98+
99+A safer way to do this is therefore to recursively delete all the `*.ibc`
100+files from the `libs/` folder.
101+
102+On Linux(or similar) you can do this with
103+
104+ find . -name "*.ibc" -exec rm -rf {} \;
105+
95### System GHC
106### System GHC
96
107
97The flag `--system-ghc` can be added to enforce use of your system's
108The flag `--system-ghc` can be added to enforce use of your system's
@@ -111,4 +122,4 @@ encounter this then the fix is to augment the `PKG_CONFIG_PATH` for
111
122
112```
123```
113PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig stack build
124PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig stack build
114−```
125+```