From 6e07a06d7364e1e942deb484efeaca837a24f097 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 1 Oct 2024 23:07:51 +0200 Subject: [PATCH] jprofiler: fix `desktopItems` --- .../tools/java/jprofiler/default.nix | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/development/tools/java/jprofiler/default.nix b/pkgs/development/tools/java/jprofiler/default.nix index 400c339475fe..3e86ea7b702a 100644 --- a/pkgs/development/tools/java/jprofiler/default.nix +++ b/pkgs/development/tools/java/jprofiler/default.nix @@ -39,15 +39,17 @@ let hash = "sha256-4T0j2ctHmgWOSCmFG2PZCLJS57nIa5MxmJBpMYzy9FI="; }; - desktopItems = makeDesktopItem { - name = pname; - exec = pname; - icon = pname; - comment = meta.description; - desktopName = nameApp; - genericName = "Java Profiler Tool"; - categories = [ "Development" ]; - }; + desktopItems = [ + (makeDesktopItem { + name = pname; + exec = pname; + icon = pname; + comment = meta.description; + desktopName = nameApp; + genericName = "Java Profiler Tool"; + categories = [ "Development" ]; + }) + ]; linux = stdenv.mkDerivation { inherit pname version src desktopItems;