about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-09-21 08:50:57 +0300
committerGitHub <noreply@github.com>2023-09-21 08:50:57 +0300
commit2416ae9b566ef803126e80d6829917116d36e120 (patch)
treeb5638d9abe8fef28eafd2537ab365900e2b7e3e1 /pkgs/applications/editors
parent79c4cde07b16c5cd33bf5d00d7938a1c9ad8eb7a (diff)
parent2f0a232bf540ebfeac6d3cca1110c14e060f319a (diff)
Merge pull request #256276 from chvp/cleanup/bluej
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/bluej/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/editors/bluej/default.nix b/pkgs/applications/editors/bluej/default.nix
index 7980cf386e2b2..ddcb002db5d14 100644
--- a/pkgs/applications/editors/bluej/default.nix
+++ b/pkgs/applications/editors/bluej/default.nix
@@ -35,6 +35,10 @@ stdenv.mkDerivation rec {
     mkdir -p $out
     cp -r usr/* $out
 
+    rm -r $out/share/bluej/jdk
+    rm -r $out/share/bluej/javafx
+    rm -r $out/share/bluej/javafx-*.jar
+
     makeWrapper ${openjdk}/bin/java $out/bin/bluej \
       "''${gappsWrapperArgs[@]}" \
       --add-flags "-Dawt.useSystemAAFontSettings=on -Xmx512M \
@@ -49,6 +53,7 @@ stdenv.mkDerivation rec {
     homepage = "https://www.bluej.org/";
     sourceProvenance = with sourceTypes; [ binaryBytecode ];
     license = licenses.gpl2ClasspathPlus;
+    mainProgram = pname;
     maintainers = with maintainers; [ chvp ];
     platforms = platforms.linux;
   };