mirror of
https://github.com/marcosh/crem.git
synced 2024-09-11 12:36:19 +03:00
remove nix build from README
This commit is contained in:
parent
e1bd0b3177
commit
531dc418ba
21
README.md
21
README.md
@ -104,27 +104,6 @@ build-watch
|
|||||||
test-watch
|
test-watch
|
||||||
```
|
```
|
||||||
|
|
||||||
It is also possible to build the project without entering the development shell.
|
|
||||||
This allows us to build the same way as the CI/CD environment, build with different GHC versions, build container images, etc.
|
|
||||||
|
|
||||||
To do this, run
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# default GHC
|
|
||||||
nix build
|
|
||||||
|
|
||||||
# custom GHC
|
|
||||||
nix build .#crem.ghc90
|
|
||||||
nix build .#crem.ghc92
|
|
||||||
```
|
|
||||||
|
|
||||||
To view the compilation logs, you can append `-L`:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nix build -L
|
|
||||||
nix build -L .#crem.ghc92
|
|
||||||
```
|
|
||||||
|
|
||||||
### Haddock documentation
|
### Haddock documentation
|
||||||
|
|
||||||
You can generate and see the [Haddock] documentation by running
|
You can generate and see the [Haddock] documentation by running
|
||||||
|
Loading…
Reference in New Issue
Block a user