diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-04-20 14:32:07 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-04-20 14:32:07 +0000 |
commit | fbc33c54854cc584a09ff02924af012ff8c3717a (patch) | |
tree | 230eab86412171021874c1ae3d98a1655510d4f1 /pkgs | |
parent | 3921737991184b10d0b6377a442da73d05e57c33 (diff) |
maven-build.nix: added extraMvnFlags argurment
svn path=/nixpkgs/trunk/; revision=21181
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/release/maven-build.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/release/maven-build.nix b/pkgs/build-support/release/maven-build.nix index 8fbd7f0677bd2..2fa42dd1b1016 100644 --- a/pkgs/build-support/release/maven-build.nix +++ b/pkgs/build-support/release/maven-build.nix @@ -7,12 +7,12 @@ , doCheckstyle ? false , doRelease ? false , includeTestClasses ? true - +, extraMvnFlags ? "" , ... } @ args : let - mvnFlags = "-Dmaven.repo.local=$M2_REPO ${if doTest then "" else "-Dmaven.test.skip.exec=true"}"; + mvnFlags = "-Dmaven.repo.local=$M2_REPO ${if doTest then "" else "-Dmaven.test.skip.exec=true"} ${extraMvnFlags}"; in stdenv.mkDerivation ( rec { |