summaryrefslogtreecommitdiff
path: root/Biz/Dragons/Analysis.nix
blob: 49a76e0770ee2f274471957c3d21b8e3912a49dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ nixpkgs ? import ../Bild.nix { } }:
with nixpkgs;
# 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.run ./Analysis.hs) ];
  config.Cmd = [ "/bin/dragons-analyze" ];
}