README.md: structure all "Building*" headlines into "Building" section

This commit is contained in:
Anton-Latukha 2020-09-29 17:00:19 +03:00
parent 5e80e1984f
commit 21599b36b2
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 7 additions and 4 deletions

View File

@ -69,9 +69,11 @@ hnix --eval -E '(import <nixpkgs> {}).pkgs.hello' --repl
Use the `:help` command for a list of all available REPL commands.
## Building with full debug info
## Building
To build `hnix` for debugging, and with full tracing output and stack traces, use:
### With full debug info
To build `hnix` for debugging, with full tracing output and stack traces:
```
nix-shell
@ -82,7 +84,8 @@ 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.
## Building with benchmarks enabled
### With benchmarks
To build `hnix` with benchmarks enabled:
@ -93,7 +96,7 @@ cabal v2-build
cabal v2-bench
```
## Building with profiling enabled
### With profiling
To build `hnix` with profiling enabled: