gradle: Pin pkgs to Gradle 6 that fail with 7
This commit is contained in:
parent
da62033a9a
commit
b0ed229aad
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, gradle, perl, jre, makeWrapper, makeDesktopItem, mplayer }:
|
||||
{ lib, stdenv, fetchFromGitHub, gradle_6, perl, jre, makeWrapper, makeDesktopItem, mplayer }:
|
||||
|
||||
let
|
||||
version = "6.6.7-build-529";
|
||||
@ -25,7 +25,7 @@ let
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${name}-deps";
|
||||
inherit src;
|
||||
buildInputs = [ gradle perl ];
|
||||
buildInputs = [ gradle_6 perl ];
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
( cd desktop
|
||||
@ -47,7 +47,7 @@ in stdenv.mkDerivation {
|
||||
inherit name src;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ gradle ];
|
||||
buildInputs = [ gradle_6 ];
|
||||
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, jdk, gradleGen, makeDesktopItem, copyDesktopItems, perl, writeText, runtimeShell, makeWrapper, glib, wrapGAppsHook }:
|
||||
let
|
||||
# The default one still uses jdk8 (#89731)
|
||||
gradle = (gradleGen.override (old: { java = jdk; })).gradle_latest;
|
||||
gradle = (gradleGen.override (old: { java = jdk; })).gradle_6_8;
|
||||
|
||||
pname = "scenebuilder";
|
||||
version = "15.0.1";
|
||||
|
@ -2,7 +2,7 @@
|
||||
, makeWrapper
|
||||
, fetchFromGitHub
|
||||
, nixosTests
|
||||
, gradle
|
||||
, gradle_6
|
||||
, perl
|
||||
, jre
|
||||
, libpulseaudio
|
||||
@ -33,7 +33,7 @@ let
|
||||
deps = stdenv.mkDerivation {
|
||||
pname = "${pname}-deps";
|
||||
inherit version src postPatch;
|
||||
nativeBuildInputs = [ gradle perl ];
|
||||
nativeBuildInputs = [ gradle_6 perl ];
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
# https://github.com/gradle/gradle/issues/4426
|
||||
@ -54,7 +54,7 @@ let
|
||||
in stdenv.mkDerivation rec {
|
||||
inherit pname version src postPatch;
|
||||
|
||||
nativeBuildInputs = [ gradle perl makeWrapper ];
|
||||
nativeBuildInputs = [ gradle_6 perl makeWrapper ];
|
||||
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, jre, git, gradle, perl, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, jre, git, gradle_6, perl, makeWrapper }:
|
||||
|
||||
let
|
||||
name = "ma1sd-${version}";
|
||||
@ -16,7 +16,7 @@ let
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${name}-deps";
|
||||
inherit src;
|
||||
nativeBuildInputs = [ gradle perl git ];
|
||||
nativeBuildInputs = [ gradle_6 perl git ];
|
||||
|
||||
buildPhase = ''
|
||||
export MA1SD_BUILD_VERSION=${rev}
|
||||
@ -41,7 +41,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name src version;
|
||||
nativeBuildInputs = [ gradle perl makeWrapper ];
|
||||
nativeBuildInputs = [ gradle_6 perl makeWrapper ];
|
||||
buildInputs = [ jre ];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, jre, git, gradle, perl, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, jre, git, gradle_6, perl, makeWrapper }:
|
||||
|
||||
let
|
||||
name = "mxisd-${version}";
|
||||
@ -16,7 +16,7 @@ let
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${name}-deps";
|
||||
inherit src;
|
||||
nativeBuildInputs = [ gradle perl git ];
|
||||
nativeBuildInputs = [ gradle_6 perl git ];
|
||||
|
||||
buildPhase = ''
|
||||
export MXISD_BUILD_VERSION=${rev}
|
||||
@ -41,7 +41,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name src version;
|
||||
nativeBuildInputs = [ gradle perl makeWrapper ];
|
||||
nativeBuildInputs = [ gradle_6 perl makeWrapper ];
|
||||
buildInputs = [ jre ];
|
||||
|
||||
patches = [ ./0001-gradle.patch ];
|
||||
|
Loading…
Reference in New Issue
Block a user