netbeans: moved to by-name

This commit is contained in:
kashw2 2024-08-04 14:43:50 +10:00
parent 8283321d14
commit 3f28609123
2 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, which, unzip, libicns, imagemagick
, jdk, perl
, jdk17, perl
}:
let
@ -34,9 +34,9 @@ stdenv.mkDerivation {
mkdir -pv $out/bin
cp -a netbeans $out
makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \
--prefix PATH : ${lib.makeBinPath [ jdk which ]} \
--prefix JAVA_HOME : ${jdk.home} \
--add-flags "--jdkhome ${jdk.home} \
--prefix PATH : ${lib.makeBinPath [ jdk17 which ]} \
--prefix JAVA_HOME : ${jdk17.home} \
--add-flags "--jdkhome ${jdk17.home} \
-J-Dawt.useSystemAAFontSettings=on -J-Dswing.aatext=true"
# Extract pngs from the Apple icon image and create

View File

@ -31836,10 +31836,6 @@ with pkgs;
nanorc = callPackage ../applications/editors/nano/nanorc { };
netbeans = callPackage ../applications/editors/netbeans {
jdk = jdk17;
};
netcoredbg = callPackage ../development/tools/misc/netcoredbg { };
ncdu = callPackage ../tools/misc/ncdu {