Skip to content

Commit

Permalink
added hint to get around build failures due to old ibc files
Browse files Browse the repository at this point in the history
had this right now when updating to 0.99.2 - some `pruviloy` lib did suddenly fail to type check because it did not recognize a `Unit`
  • Loading branch information
CarstenKoenig committed Mar 29, 2017
1 parent 44035ac commit d552eef
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion INSTALL.md
Expand Up @@ -92,6 +92,17 @@ the required libraries and header files are available:

* `stack build --nix`

### before rebuilding new pulls
the default build will currently just reuse `.ibc` files which can result
in build-failures in the `Building libraries...` phase.

A safer way to do this is therefore to recursively delete all the `*.ibc`
files from the `libs/` folder.

On Linux(or similar) you can do this with

find . -name "*.ibc" -exec rm -rf {} \;

### System GHC

The flag `--system-ghc` can be added to enforce use of your system's
Expand All @@ -111,4 +122,4 @@ encounter this then the fix is to augment the `PKG_CONFIG_PATH` for

```
PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig stack build
```
```

0 comments on commit d552eef

Please sign in to comment.