mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 12:08:17 +03:00
build-support/make-desktopitem: add some missing fields
This commit is contained in:
parent
42e87863e6
commit
c4b3aa6260
@ -12,6 +12,8 @@
|
||||
, mimeType ? null
|
||||
, categories ? null
|
||||
, startupNotify ? null
|
||||
, noDisplay ? null
|
||||
, prefersNonDefaultGPU ? null
|
||||
, extraDesktopEntries ? { } # Extra key-value pairs to add to the [Desktop Entry] section. This may override other values
|
||||
, extraEntries ? "" # Extra configuration. Will be appended to the end of the file and may thus contain extra sections
|
||||
, fileValidation ? true # whether to validate resulting desktop file.
|
||||
@ -35,6 +37,8 @@ let
|
||||
"MimeType" = nullableToString mimeType;
|
||||
"Categories" = nullableToString categories;
|
||||
"StartupNotify" = nullableToString startupNotify;
|
||||
"NoDisplay" = nullableToString noDisplay;
|
||||
"PrefersNonDefaultGPU" = nullableToString prefersNonDefaultGPU;
|
||||
} // extraDesktopEntries;
|
||||
|
||||
# Map all entries to a list of lines
|
||||
|
Loading…
Reference in New Issue
Block a user