Skip to content

Commit 134243f

Browse files
committed
Allow passing env variables to gradle build
1 parent ea97740 commit 134243f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildGradleApplication/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
version,
1212
src,
1313
meta,
14+
env ? {},
1415
jdk ? pkgs.jdk,
1516
gradle ? pkgs.gradle,
1617
buildInputs ? [],
@@ -72,7 +73,7 @@
7273
'';
7374

7475
package = stdenvNoCC.mkDerivation {
75-
inherit pname version src meta buildInputs;
76+
inherit pname version src meta buildInputs env;
7677

7778
passthru = {
7879
inherit jdk gradle updateVerificationMetadata;

0 commit comments

Comments
 (0)