summaryrefslogtreecommitdiff
path: root/Biz/Dragons/Analysis.nix
blob: 0896dbe87b3e5f5d0aea3ff9ff0fd76407133883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ bild ? import ../Bild.nix {} }:

# Run this like so:
#
#    bild Biz/Dragons/Analysis.nix
#    docker load < _/nix/Biz/Dragons/Analysis.nix
#    docker run --volume $PWD:/src dragons-analyze dragons-analyze /src/.git

bild.image {
  name = "dragons-analyze";
  tag = "latest";
  fromImage = null;
  fromImageName = null;
  fromImageTag = "latest";
  contents = [
    bild.pkgs.git
    (bild.ghc ./Analysis.hs)
  ];
  config.Cmd = [ "/bin/dragons-analyze" ];
}