about summary refs log tree commit diff
path: root/pkgs/build-support/make-desktopitem
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2016-02-29 20:42:58 +0100
committerLuca Bruno <lucabru@src.gnome.org>2016-02-29 20:42:58 +0100
commit5f8311775c8832b1c5a88576cf58be05fd5c9070 (patch)
treee05a24b09f992cd03eab749e07f3b06ac9d7d726 /pkgs/build-support/make-desktopitem
parentcd897f657c28fafe9b018feb25ef5f2dbf691e48 (diff)
downloadnixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.tar
nixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.tar.gz
nixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.tar.bz2
nixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.tar.lz
nixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.tar.xz
nixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.tar.zst
nixlib-5f8311775c8832b1c5a88576cf58be05fd5c9070.zip
chromium: add StartupWMClass to desktop file. Fixes #12433
Diffstat (limited to 'pkgs/build-support/make-desktopitem')
-rw-r--r--pkgs/build-support/make-desktopitem/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/make-desktopitem/default.nix b/pkgs/build-support/make-desktopitem/default.nix
index 2f6c827d8758..f5b4e5af93a0 100644
--- a/pkgs/build-support/make-desktopitem/default.nix
+++ b/pkgs/build-support/make-desktopitem/default.nix
@@ -10,6 +10,7 @@
 , mimeType ? ""
 , categories ? "Application;Other;"
 , startupNotify ? null
+, extraEntries ? ""
 }:
 
 stdenv.mkDerivation {
@@ -27,6 +28,7 @@ stdenv.mkDerivation {
     GenericName=${genericName}
     MimeType=${mimeType}
     Categories=${categories}
+    ${extraEntries}
     ${if startupNotify == null then ''EOF'' else ''
     StartupNotify=${startupNotify}
     EOF''}