diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-12 17:25:56 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-12 17:25:56 -0600 |
commit | 623a117bdd6491cb81ca7504c19d0fa2fd785af3 (patch) | |
tree | fb682e7ec0f934c72792947e7a44e4063af396c8 | |
parent | e0f6dc36c9613f2708da99e4c3965b2311187b29 (diff) |
makeDesktopItem: add StartupNotify key
-rw-r--r-- | pkgs/build-support/make-desktopitem/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix index 1a03faae54ccc..d4baf17adf1b1 100644 --- a/pkgs/build-support/make-desktopitem/default.nix +++ b/pkgs/build-support/make-desktopitem/default.nix @@ -9,6 +9,7 @@ , genericName , mimeType ? "" , categories ? "Application;Other;" +, startupNotify ? null }: stdenv.mkDerivation { @@ -26,6 +27,8 @@ stdenv.mkDerivation { GenericName=${genericName} MimeType=${mimeType} Categories=${categories} - EOF + ${if startupNotify == null then ''EOF'' else '' + StartupNotify=${startupNotify} + EOF''} ''; } |