Skip to content

Commit fba06c0

Browse files
committed
README.md: Building: put "Full debug with profiling" after "Profiling"
1 parent 9e4f57e commit fba06c0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,6 @@ To autoload prebuild project dependencies - please, enable the official HNix Cac
8181
8282
## Building
8383
84-
### With full debug info
85-
86-
To build `hnix` for debugging, with full tracing output and stack traces:
87-
88-
```
89-
nix-shell
90-
cabal v2-configure --enable-tests --enable-profiling --flags=profiling --flags=tracing
91-
cabal v2-build
92-
cabal v2-run hnix -- -v5 --trace <args> +RTS -xc
93-
```
94-
95-
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.
96-
97-
9884
### With benchmarks
9985
10086
To build `hnix` with benchmarks enabled:
@@ -117,6 +103,20 @@ cabal v2-build
117103
cabal v2-run hnix -- <args> +RTS -p
118104
```
119105
106+
### With full debug info
107+
108+
To build `hnix` for debugging, with full tracing output and stack traces:
109+
110+
```
111+
nix-shell
112+
cabal v2-configure --enable-tests --enable-profiling --flags=profiling --flags=tracing
113+
cabal v2-build
114+
cabal v2-run hnix -- -v5 --trace <args> +RTS -xc
115+
```
116+
117+
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.
118+
119+
120120
## Contributing
121121
122122
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.

0 commit comments

Comments
 (0)