diff options
author | Louis Bettens <louis@bettens.info> | 2021-01-29 16:09:02 +0100 |
---|---|---|
committer | Louis Bettens <louis@bettens.info> | 2021-01-29 16:09:02 +0100 |
commit | 91c6a4648ead499a9c2493a2688f3b0253b2d1e9 (patch) | |
tree | 469affd17a56655ea012d115f0b640b2aac6f3e9 /pkgs/applications | |
parent | bccb0ee3db61c44e6a68a5c0d9ee4364320af415 (diff) |
processing: fix build
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/graphics/processing/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/processing/default.nix b/pkgs/applications/graphics/processing/default.nix index 434f9fab88df..2e61e40b01fe 100644 --- a/pkgs/applications/graphics/processing/default.nix +++ b/pkgs/applications/graphics/processing/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, fetchurl, xmlstarlet, makeWrapper, ant, jdk, rsync, javaPackages, libXxf86vm, gsettings-desktop-schemas }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, fetchurl, xmlstarlet, makeWrapper, ant, jdk, rsync, javaPackages, libXxf86vm, gsettings-desktop-schemas }: stdenv.mkDerivation rec { pname = "processing"; @@ -11,6 +11,14 @@ stdenv.mkDerivation rec { sha256 = "0cvv8jda9y8qnfcsziasyv3w7h3w22q78ihr23cm4an63ghxci58"; }; + patches = [ + (fetchpatch { + name = "oraclejdk-8u281-compat.patch"; + url = "https://github.com/processing/processing/commit/7e176876173c93e3a00a922e7ae37951366d1761.patch"; + sha256 = "g+zwpoIVgw7Sp6QWW3vyPZ/fKHk+o/YCY6xnrX8IGKo="; + }) + ]; + nativeBuildInputs = [ ant rsync makeWrapper ]; buildInputs = [ jdk ]; |