javaPackages.mavenfod: use mvnParameters in buildPhase
This commit is contained in:
parent
6816f87866
commit
4c766274c5
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ stdenv.mkDerivation (rec {
|
|||
runHook preBuild
|
||||
|
||||
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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue