30 lines
319 B
Markdown
30 lines
319 B
Markdown
# utoy
|
|
|
|
## Building the executable
|
|
|
|
```
|
|
$ nix build
|
|
```
|
|
|
|
## Building the Docker image
|
|
|
|
```
|
|
# TODO
|
|
$ docker load < $(nix-build nix/docker-image.nix)
|
|
```
|
|
|
|
## Development Shell
|
|
|
|
Includes Stack, `haskell-language-server`, `gen-hie` etc.
|
|
|
|
```
|
|
nix develop
|
|
```
|
|
|
|
## Running Stack and GHC
|
|
|
|
```
|
|
nix run .#stack
|
|
nix run .#ghc
|
|
```
|