From 623a117bdd6491cb81ca7504c19d0fa2fd785af3 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 12 Dec 2015 17:25:56 -0600 Subject: makeDesktopItem: add StartupNotify key --- pkgs/build-support/make-desktopitem/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkgs/build-support/make-desktopitem/default.nix') diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix index 1a03faae54c..d4baf17adf1 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''} ''; } -- cgit 1.4.1