summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-04-14 06:31:19 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-04-28 05:49:33 -0500
commita53f129c45d32752502faef2f649e95ec0f77a56 (patch)
treea536011122b081d789c82bd3f33091e3bd840145 /pkgs/desktops
parent32b8512e54b864ecf8c2b1e115c1a3f18e90a8c3 (diff)
downloadnixlib-a53f129c45d32752502faef2f649e95ec0f77a56.tar
nixlib-a53f129c45d32752502faef2f649e95ec0f77a56.tar.gz
nixlib-a53f129c45d32752502faef2f649e95ec0f77a56.tar.bz2
nixlib-a53f129c45d32752502faef2f649e95ec0f77a56.tar.lz
nixlib-a53f129c45d32752502faef2f649e95ec0f77a56.tar.xz
nixlib-a53f129c45d32752502faef2f649e95ec0f77a56.tar.zst
nixlib-a53f129c45d32752502faef2f649e95ec0f77a56.zip
kwin: install service type aliases for broken packages
Some package(s) refer to kwin service types by the wrong names. I would prefer
to patch those packages, but I cannot find them!
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/plasma-5/kwin/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/desktops/plasma-5/kwin/default.nix b/pkgs/desktops/plasma-5/kwin/default.nix
index 01f90664276e..a14b6433a76e 100644
--- a/pkgs/desktops/plasma-5/kwin/default.nix
+++ b/pkgs/desktops/plasma-5/kwin/default.nix
@@ -30,4 +30,12 @@ plasmaPackage {
         --subst-var-by xwayland ${lib.getBin xwayland}/bin/Xwayland
   '';
   cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
+  postInstall = ''
+    # Some package(s) refer to these service types by the wrong name.
+    # I would prefer to patch those packages, but I cannot find them!
+    ln -s $out/share/kservicetypes5/kwineffect.desktop \
+          $out/share/kservicetypes5/kwin-effect.desktop
+    ln -s $out/share/kservicetypes5/kwinscript.desktop \
+          $out/share/kservicetypes5/kwin-script.desktop
+  '';
 }