README.md: Building: put "Full debug with profiling" after "Profiling"
This commit is contained in:
parent
9e4f57e052
commit
fba06c0cd0
28
README.md
28
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue