about summary refs log tree commit diff
path: root/pkgs/tools/admin/winbox
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-02-22 17:56:15 +0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-02-25 13:40:38 -0800
commitcb2cfba6f7690d4b8754b0dd5a504efe93d7f44d (patch)
tree63bf69cdc1c296e10bf6543aa890855cccf1da57 /pkgs/tools/admin/winbox
parent0c713dbed40dd87090a4632cffc7b088653f35cb (diff)
downloadnixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar
nixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.gz
nixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.bz2
nixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.lz
nixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.xz
nixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.zst
nixlib-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.zip
treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
Diffstat (limited to 'pkgs/tools/admin/winbox')
-rw-r--r--pkgs/tools/admin/winbox/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/tools/admin/winbox/default.nix b/pkgs/tools/admin/winbox/default.nix
index 64b58ee9093a..38e76064b18d 100644
--- a/pkgs/tools/admin/winbox/default.nix
+++ b/pkgs/tools/admin/winbox/default.nix
@@ -45,11 +45,8 @@ let
     comment = "GUI administration for Mikrotik RouterOS";
     exec = pname;
     icon = pname;
-    type = "Application";
-    categories = "Utility";
-    extraDesktopEntries = {
-      StartupWMClass = last (splitString "/" executable);
-    };
+    categories = [ "Utility" ];
+    startupWMClass = last (splitString "/" executable);
   };
 
   # The icon is also from the winbox AUR package (see above).