···4# Please keep in spec order for easier maintenance.
5# When adding a new value, don't forget to update the Version field below!
6# See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
7-{ name # The name of the desktop file
8, type ? "Application"
9# version is hardcoded
10, desktopName # The name of the application
···115 destination = "/share/applications/${name}.desktop";
116 text = builtins.concatStringsSep "\n" content;
117 checkPhase = ''${buildPackages.desktop-file-utils}/bin/desktop-file-validate "$target"'';
118-}
···4# Please keep in spec order for easier maintenance.
5# When adding a new value, don't forget to update the Version field below!
6# See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
7+lib.makeOverridable ({ name # The name of the desktop file
8, type ? "Application"
9# version is hardcoded
10, desktopName # The name of the application
···115 destination = "/share/applications/${name}.desktop";
116 text = builtins.concatStringsSep "\n" content;
117 checkPhase = ''${buildPackages.desktop-file-utils}/bin/desktop-file-validate "$target"'';
118+})