diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix index 1a03faae54cc..d4baf17adf1b 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''} ''; }