mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
makeDesktopItem: add StartupNotify key
This commit is contained in:
@@ -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''}
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user