From 91f5dc12173b0456998a7b9cc2b95874edcce452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BChmel?= Date: Thu, 3 Mar 2022 15:31:23 +0000 Subject: [PATCH] Update to newest refactor of `makeDesktopItem` --- flake.nix | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 8331d89..4737424 100644 --- a/flake.nix +++ b/flake.nix @@ -37,11 +37,23 @@ exec = "@out@/bin/matlab -desktop %F"; icon = "matlab"; # Most of the following are copied from octave's desktop launcher - categories = "Utility;TextEditor;Development;IDE;"; - mimeType = "text/x-octave;text/x-matlab;"; - extraEntries = '' - Keywords=science;math;matrix;numerical computation;plotting; - ''; + categories = [ + "Utility" + "TextEditor" + "Development" + "IDE" + ]; + mimeTypes = [ + "text/x-octave" + "text/x-matlab" + ]; + keywords = [ + "science" + "math" + "matrix" + "numerical computation" + "plotting" + ]; }; in {