javaPackages.mavenfod: use mvnParameters in buildPhase
This commit is contained in:
parent
6816f87866
commit
4c766274c5
@ -49,7 +49,7 @@ stdenv.mkDerivation (rec {
|
|||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
mvnDeps=$(cp -dpR ${fetchedMavenDeps}/.m2 ./ && chmod +w -R .m2 && pwd)
|
mvnDeps=$(cp -dpR ${fetchedMavenDeps}/.m2 ./ && chmod +w -R .m2 && pwd)
|
||||||
mvn package --offline "-Dmaven.repo.local=$mvnDeps/.m2" -P desktop,all-platforms
|
mvn package --offline "-Dmaven.repo.local=$mvnDeps/.m2" ${mvnParameters}
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user