blob: de431a75ca644a0d876f4f029e285548dd092bd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ 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" ];
}
|