diff options
author | K900 <me@0upti.me> | 2022-02-22 17:56:15 +0300 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-25 13:40:38 -0800 |
commit | cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d (patch) | |
tree | 63bf69cdc1c296e10bf6543aa890855cccf1da57 /pkgs/applications/editors/leo-editor | |
parent | 0c713dbed40dd87090a4632cffc7b088653f35cb (diff) | |
download | nixlib-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/applications/editors/leo-editor')
-rw-r--r-- | pkgs/applications/editors/leo-editor/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/editors/leo-editor/default.nix b/pkgs/applications/editors/leo-editor/default.nix index ee22c591ad77..4a5f464f4bcb 100644 --- a/pkgs/applications/editors/leo-editor/default.nix +++ b/pkgs/applications/editors/leo-editor/default.nix @@ -24,11 +24,9 @@ mkDerivation rec { comment = meta.description; desktopName = "Leo"; genericName = "Text Editor"; - categories = lib.concatStringsSep ";" [ - "Application" "Development" "IDE" - ]; - startupNotify = "false"; - mimeType = lib.concatStringsSep ";" [ + categories = [ "Application" "Development" "IDE" ]; + startupNotify = false; + mimeTypes = [ "text/plain" "text/asp" "text/x-c" "text/x-script.elisp" "text/x-fortran" "text/html" "application/inf" "text/x-java-source" "application/x-javascript" "application/javascript" "text/ecmascript" "application/x-ksh" "text/x-script.ksh" |