Compare commits

...

2 Commits

Author SHA1 Message Date
fde68ee833 Bump version to 0.3 2023-03-16 03:21:16 +01:00
610c819483 Add some instructions for the Nix setup 2023-03-16 03:15:55 +01:00
5 changed files with 24 additions and 4 deletions

View File

@ -1 +1,21 @@
# 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
```

View File

@ -4,6 +4,6 @@ let
in
pkgs.dockerTools.buildImage {
name = "git.pbrinkmeier.de/paul/utoy";
tag = "0.2";
tag = utoy.version;
config.Cmd = [ "${utoy}/bin/utoy" ];
}

View File

@ -1,7 +1,7 @@
# Adapted from new-template.hsfiles
name: utoy
version: 0.2
version: 0.3
git: "https://git.pbrinkmeier.de/paul/utoy"
license: MIT
author: "Paul Brinkmeier"

View File

@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: utoy
version: 0.2
version: 0.3
author: Paul Brinkmeier
maintainer: hallo@pbrinkmeier.de
copyright: 2023 Paul Brinkmeier

View File

@ -8,7 +8,7 @@ let
utoy =
{ mkDerivation }:
mkDerivation {
version = "0.2";
version = "0.3";
pname = "utoy";
license = pkgs.lib.licenses.mit;
src =