From fba06c0cd0592bfa37cf158d9218a4151f20126b Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Tue, 29 Sep 2020 17:14:43 +0300 Subject: [PATCH] README.md: Building: put "Full debug with profiling" after "Profiling" --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 365ec1e..f3eed0b 100644 --- a/README.md +++ b/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 +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 -- +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 +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.