makeDesktopItem: add StartupNotify key

This commit is contained in:
Thomas Tuegel 2015-12-12 17:25:56 -06:00
parent e0f6dc36c9
commit 623a117bdd

View File

@ -9,6 +9,7 @@
, genericName , genericName
, mimeType ? "" , mimeType ? ""
, categories ? "Application;Other;" , categories ? "Application;Other;"
, startupNotify ? null
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -26,6 +27,8 @@ stdenv.mkDerivation {
GenericName=${genericName} GenericName=${genericName}
MimeType=${mimeType} MimeType=${mimeType}
Categories=${categories} Categories=${categories}
EOF ${if startupNotify == null then ''EOF'' else ''
StartupNotify=${startupNotify}
EOF''}
''; '';
} }