From 21599b36b292bc0784d5236dd1a0612c0553b465 Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Tue, 29 Sep 2020 17:00:19 +0300 Subject: [PATCH] README.md: structure all "Building*" headlines into "Building" section --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b0e5ba6..a6361c3 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,11 @@ hnix --eval -E '(import {}).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 +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: