Merge pull request #177039 from Sciencentistguy/makeDesktopItem-overridable
build-support/makeDesktopItem: make overridable
This commit is contained in:
commit
17019dcf9a
1 changed files with 2 additions and 2 deletions
|
@ -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"'';
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue