# { system ? builtins.currentSystem }: let # pkgs = import { inherit system; }; pkgs = import { }; 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