Compare commits

2 Commits

Author SHA1 Message Date
206e975368 Fix JDK build
Some checks failed
Update the version / update (push) Has been cancelled
2025-12-05 13:01:04 +01:00
75fb304107 Revert "Remove enableGnome2 property from JDK derivation"
This reverts commit 32838d386a.
2025-12-05 12:50:55 +01:00
2 changed files with 8 additions and 10 deletions

12
flake.lock generated
View File

@@ -5,11 +5,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1731533236,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -20,11 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1720863214, "lastModified": 1764934844,
"narHash": "sha256-i2MaeZlmE85eZtILHzZdb0blm15xcq7ASbhHa8ILiLI=", "narHash": "sha256-P+MyCHPVEXUB7j1lQCjWo6Ke9/SGkKCWbyyVeXkude8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "267ce10433ba68de208074a2faf9d31f048593f3", "rev": "1177aa56e17909379c74d86c60d51f92f2f1e8e4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -1,12 +1,11 @@
{ {
buildPlatform, stdenv,
hostPlatform,
jdk21, jdk21,
which, which,
zip, zip,
buildPackages, buildPackages,
}: }:
if buildPlatform == hostPlatform if stdenv.buildPlatform == stdenv.hostPlatform
then jdk21 then jdk21
else else
jdk21.overrideAttrs (old: { jdk21.overrideAttrs (old: {
@@ -18,7 +17,6 @@ else
old.configureFlags old.configureFlags
++ [ ++ [
"--with-jtreg=no" "--with-jtreg=no"
"--disable-hotspot-gtest"
"--with-build-jdk=${buildPackages.jdk21}" "--with-build-jdk=${buildPackages.jdk21}"
]; ];
}) })