README.md: Building: put "Full debug with profiling" after "Profiling"

This commit is contained in:
Anton-Latukha 2020-09-29 17:14:43 +03:00
parent 9e4f57e052
commit fba06c0cd0
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 14 additions and 14 deletions

View File

@ -81,20 +81,6 @@ To autoload prebuild project dependencies - please, enable the official HNix Cac
## Building
### With full debug info
To build `hnix` for debugging, with full tracing output and stack traces:
```
nix-shell
cabal v2-configure --enable-tests --enable-profiling --flags=profiling --flags=tracing
cabal v2-build
cabal v2-run hnix -- -v5 --trace <args> +RTS -xc
```
Note that this will run quite slowly, but will give the most information as to what might potentially be going wrong during parsing or evaluation.
### With benchmarks
To build `hnix` with benchmarks enabled:
@ -117,6 +103,20 @@ cabal v2-build
cabal v2-run hnix -- <args> +RTS -p
```
### With full debug info
To build `hnix` for debugging, with full tracing output and stack traces:
```
nix-shell
cabal v2-configure --enable-tests --enable-profiling --flags=profiling --flags=tracing
cabal v2-build
cabal v2-run hnix -- -v5 --trace <args> +RTS -xc
```
Note that this will run quite slowly, but will give the most information as to what might potentially be going wrong during parsing or evaluation.
## Contributing
1. If something in the [quests](https://github.com/haskell-nix/hnix/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22+no%3Aassignee) looks interesting, look through the thread and leave a comment taking it, to let others know you're working on it.