mavenBuildPackage: add afterDepsSetup

This commit is contained in:
Alexander Sieg 2024-07-27 19:03:34 +02:00 committed by Alexander Sieg
parent dbe30a84de
commit 0211e5ea2a
No known key found for this signature in database

View File

@ -93,6 +93,7 @@ stdenv.mkDerivation (builtins.removeAttrs args [ "mvnFetchExtraArgs" ] // {
runHook preBuild
mvnDeps=$(cp -dpR ${fetchedMavenDeps}/.m2 ./ && chmod +w -R .m2 && pwd)
runHook afterDepsSetup
mvn package -o -nsu "-Dmaven.repo.local=$mvnDeps/.m2" ${mvnSkipTests} ${mvnParameters}
runHook postBuild