This commit is contained in:
Valentin Brandl 2020-03-18 18:14:32 +01:00
parent 89a5e52857
commit b1bce024de
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D
3 changed files with 3347 additions and 0 deletions

3326
Cargo.nix Normal file

File diff suppressed because it is too large Load Diff

21
docker.nix.bak Normal file
View File

@ -0,0 +1,21 @@
let
pkgs = import <nixpkgs> { };
callPackage = pkgs.lib.callPackageWith pkgs;
hoc = callPackage ./default.nix { };
dockerImage = pkg:
pkgs.dockerTools.buildImage {
name = "vbrandl/hits-of-code";
tag = hoc.version;
contents = [ pkg ];
config = {
Cmd = [ "/bin/hoc" ];
WorkingDir = "/";
};
};
in dockerImage hoc