1{ sources ? import ./nix/sources.nix
2, haskellNix ? import sources.haskellNix { inherit system; }
3, pkgs ? import haskellNix.sources.nixpkgs-2105 (haskellNix.nixpkgsArgs // { inherit system; })
4, system ? builtins.currentSystem
5, nix-filter ? import sources.nix-filter
8 hsPkgs = pkgs.haskell-nix.stackProject {
23 enableDeadCodeElimination = true;
24 packages.comparest.src = nix-filter {
26 name = "compaREST-src";
27 include = with nix-filter; [
32 (inDirectory ./github-action)
33 ./awsm-css/dist/awsm.min.css
41 staticify = name: drv: pkgs.runCommand name { } ''
43 cp ${drv + "/bin"}/* $out/bin
45 ${pkgs.nukeReferences}/bin/nuke-refs $out/bin/*
48 compaREST = pkgs.dockerTools.buildImage {
50 contents = [ (staticify "compaREST-static" hsPkgs.projectCross.musl64.hsPkgs.comparest.components.exes.comparest) ];
52 Entrypoint = [ "/bin/comparest" ];
56 compaRESTGithubAction =
58 action = staticify "compaREST-github-action-static" hsPkgs.projectCross.musl64.hsPkgs.comparest.components.exes.comparest-github-action;
59 wrapped = pkgs.runCommand "wrapped-compaREST-github-action" { buildInputs = [ pkgs.makeWrapper ]; } ''
60 makeWrapper ${action}/bin/comparest-github-action $out/bin/pre --add-flags "pre"
61 makeWrapper ${action}/bin/comparest-github-action $out/bin/run --add-flags "run"
64 pkgs.dockerTools.buildImage {
65 name = "typeable/comparest-github-action";
67 contents = [ wrapped pkgs.cacert ];
71{ inherit compaREST compaRESTGithubAction hsPkgs haskellNix; }
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list