From 3586f415fff32b9f6b4a182c3164123fe8bb77ba Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 15 Jul 2025 23:20:45 +0300 Subject: [PATCH] jdk8: disable structuredAttrs I don't know why this helps. I don't WANT to know why this helps. This is a horrible hack. --- pkgs/development/compilers/openjdk/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/openjdk/generic.nix b/pkgs/development/compilers/openjdk/generic.nix index a6913dc9bdc8..3daca22c905d 100644 --- a/pkgs/development/compilers/openjdk/generic.nix +++ b/pkgs/development/compilers/openjdk/generic.nix @@ -427,8 +427,8 @@ stdenv.mkDerivation (finalAttrs: { buildFlags = if atLeast17 then [ "images" ] else [ "all" ]; - separateDebugInfo = true; - __structuredAttrs = true; + separateDebugInfo = atLeast11; + __structuredAttrs = atLeast11; # -j flag is explicitly rejected by the build system: # Error: 'make -jN' is not supported, use 'make JOBS=N'