Add note about how to profile hnix

This commit is contained in:
John Wiegley 2018-04-10 11:49:18 -07:00
parent 63f28f30ea
commit be48c0aca5

View file

@ -23,6 +23,16 @@ $ cabal bench
$ ./dist/build/hnix/hnix --help
```
## Building with profiling enabled
To build `hnix` with profiling enabled:
```
$ nix-shell --arg doProfiling true
$ cabal configure --enable-tests --enable-profiling
$ ./dist/build/hnix/hnix <args> +RTS -p
```
## How you can help
If you're looking for a way to help out, try taking a look [here](https://github.com/jwiegley/hnix/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22+no%3Aassignee). When you find an issue that looks interesting to you, comment on the ticket to let others know you're working on it; look for others who might have done the same. You can talk with everyone live on [gitter](https://gitter.im/haskell-nix/Lobby).