README: use cabal v2-run for locating and executing binary
Old path is not existent, since `dist-newstyle` is used, path is ugly to construct, so far settling for `cabal v2-run` autolocating `hnix`, thou the problem is that Nix-env has GHC 8.8.3, and HNix binary builds only under GHC >= 8.10.
This commit is contained in:
parent
6eb309e817
commit
6955a55a36
|
@ -69,7 +69,7 @@ use:
|
|||
nix-shell
|
||||
cabal v2-configure --enable-tests --enable-profiling --flags=profiling --flags=tracing
|
||||
cabal v2-build
|
||||
./dist/build/hnix/hnix -v5 --trace <args> +RTS -xc
|
||||
cabal v2-run hnix -- -v5 --trace <args> +RTS -xc
|
||||
```
|
||||
|
||||
Note that this will run quite slowly, but will give the most information as to
|
||||
|
@ -94,7 +94,7 @@ To build `hnix` with profiling enabled:
|
|||
nix-shell
|
||||
cabal v2-configure --enable-tests --enable-profiling --flags=profiling
|
||||
cabal v2-build
|
||||
./dist/build/hnix/hnix <args> +RTS -p
|
||||
cabal v2-run hnix -- <args> +RTS -p
|
||||
```
|
||||
|
||||
## Using the Cachix binary cache
|
||||
|
|
Loading…
Reference in New Issue