build-support/makeDesktopItem: make overridable

This commit is contained in:
Jamie Quigley
2022-06-09 15:32:44 +01:00
parent 7a375487d2
commit 1f4324c3de
@@ -4,7 +4,7 @@
# Please keep in spec order for easier maintenance.
# When adding a new value, don't forget to update the Version field below!
# See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
{ name # The name of the desktop file
lib.makeOverridable ({ name # The name of the desktop file
, type ? "Application"
# version is hardcoded
, desktopName # The name of the application
@@ -115,4 +115,4 @@ writeTextFile {
destination = "/share/applications/${name}.desktop";
text = builtins.concatStringsSep "\n" content;
checkPhase = ''${buildPackages.desktop-file-utils}/bin/desktop-file-validate "$target"'';
}
})