Skip to content

Instantly share code, notes, and snippets.

@solomon-b
Created June 5, 2020 18:25
Show Gist options
  • Save solomon-b/101f26072444ec18bf0aafae6e071513 to your computer and use it in GitHub Desktop.
Save solomon-b/101f26072444ec18bf0aafae6e071513 to your computer and use it in GitHub Desktop.
let
mavenix-src = fetchTarball { url = "https://github.com/icetan/mavenix/tarball/v2.3.3"; sha256 = "1l653ac3ka4apm7s4qrbm4kx7ij7n2zk3b67p9l0nki8vxxi8jv7"; };
in {
pkgs ? (import mavenix-src {}).pkgs,
mavenix ? import mavenix-src { inherit pkgs; },
src ? ./.,
doCheck ? false,
}:
let buildPhase = ''echo "derp"'';
in (mavenix.buildMaven {
inherit src doCheck;
infoFile = ./mavenix.lock;
MAVEN_OPTS = "-Xss3m -XX:+UseG1GC -XX:+UseStringDeduplication";
}).overrideAttrs (_: { inherit buildPhase; })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment