From cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 22 Feb 2022 17:56:15 +0300 Subject: treewide: switch all desktop file generators to new API Notably: - remove explicit arguments that match the defaults - convert everything to the right Nix types --- pkgs/applications/graphics/xournal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/graphics/xournal') diff --git a/pkgs/applications/graphics/xournal/default.nix b/pkgs/applications/graphics/xournal/default.nix index 7d9ab53bef8b8..f831272387560 100644 --- a/pkgs/applications/graphics/xournal/default.nix +++ b/pkgs/applications/graphics/xournal/default.nix @@ -35,8 +35,8 @@ stdenv.mkDerivation rec { icon = "xournal"; desktopName = "Xournal"; comment = meta.description; - categories = "Office;Graphics;"; - mimeType = "application/pdf;application/x-xoj"; + categories = [ "Office" "Graphics" ]; + mimeTypes = [ "application/pdf" "application/x-xoj" ]; genericName = "PDF Editor"; }; -- cgit 1.4.1