diff options
author | Antoine Fontaine <antoine.fontaine@epfl.ch> | 2021-04-14 20:59:10 +0200 |
---|---|---|
committer | Antoine Fontaine <antoine.fontaine@epfl.ch> | 2021-06-04 17:48:46 +0200 |
commit | c4b3aa62608d592d8a983be685f7e82000f4de30 (patch) | |
tree | 6cd4148bc2be09fe51b3a25fa625f539febe6f62 | |
parent | 42e87863e61ed6080d4c2932165fb6035a42e994 (diff) | |
download | nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.tar nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.tar.gz nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.tar.bz2 nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.tar.lz nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.tar.xz nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.tar.zst nixlib-c4b3aa62608d592d8a983be685f7e82000f4de30.zip |
build-support/make-desktopitem: add some missing fields
-rw-r--r-- | pkgs/build-support/make-desktopitem/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix index 329286bd3628..1491a3ad9119 100644 --- a/pkgs/build-support/make-desktopitem/default.nix +++ b/pkgs/build-support/make-desktopitem/default.nix @@ -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 |