From b4275f6bd909e17ee05d7509235165c66ec9e6f5 Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Wed, 17 Apr 2019 12:42:07 +0200 Subject: [PATCH] openjdk8: Try to remove host kernel version impurity --- pkgs/development/compilers/openjdk/8.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/openjdk/8.nix b/pkgs/development/compilers/openjdk/8.nix index 832954dd67f2..952c5d1bf6ae 100644 --- a/pkgs/development/compilers/openjdk/8.nix +++ b/pkgs/development/compilers/openjdk/8.nix @@ -95,6 +95,9 @@ let ./swing-use-gtk-jdk8.patch ]; + # Hotspot cares about the host(!) version otherwise + DISABLE_HOTSPOT_OS_VERSION_CHECK = "ok"; + preConfigure = '' chmod +x configure substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"