Add some instructions for the Nix setup
This commit is contained in:
parent
3fd4177cd4
commit
610c819483
20
README.md
20
README.md
@ -1 +1,21 @@
|
|||||||
# utoy
|
# utoy
|
||||||
|
|
||||||
|
## Building the executable
|
||||||
|
|
||||||
|
```
|
||||||
|
$ $(nix-build utoy.nix)/bin/utoy
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building the Docker image
|
||||||
|
|
||||||
|
```
|
||||||
|
$ docker load < $(nix-build nix/docker-image.nix)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Development Shell
|
||||||
|
|
||||||
|
Includes Stack, `haskell-language-server`, `gen-hie` etc.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ nix-shell
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user