mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
jd-gui: pin gradle to 5.X in build
This commit is contained in:
parent
9203abb204
commit
dc2dfe277f
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, jre, jdk, gradle, makeDesktopItem, perl, writeText, runtimeShell }:
|
{ stdenv, fetchFromGitHub, jre, jdk, gradle_5, makeDesktopItem, perl, writeText, runtimeShell }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "jd-gui";
|
pname = "jd-gui";
|
||||||
|
@ -15,7 +15,7 @@ let
|
||||||
name = "${pname}-deps";
|
name = "${pname}-deps";
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
nativeBuildInputs = [ jdk perl gradle ];
|
nativeBuildInputs = [ jdk perl gradle_5 ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
export GRADLE_USER_HOME=$(mktemp -d);
|
export GRADLE_USER_HOME=$(mktemp -d);
|
||||||
|
@ -71,7 +71,7 @@ in stdenv.mkDerivation rec {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
nativeBuildInputs = [ jdk gradle ];
|
nativeBuildInputs = [ jdk gradle_5 ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
export GRADLE_USER_HOME=$(mktemp -d)
|
export GRADLE_USER_HOME=$(mktemp -d)
|
||||||
|
|
Loading…
Reference in a new issue