about summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5/libkscreen
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-05-15 06:44:33 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-06-18 08:41:57 -0500
commit3f3d33a07867116446ec9b5e2675ef1c8de8127d (patch)
treeb0c362b10bb8e908c2be61aadae8f9cdb69a8c6e /pkgs/desktops/plasma-5/libkscreen
parent08d25152b85fb24f7b5b85efe25d6be4deb12227 (diff)
downloadnixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar
nixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.gz
nixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.bz2
nixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.lz
nixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.xz
nixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.zst
nixlib-3f3d33a07867116446ec9b5e2675ef1c8de8127d.zip
qt5: use distinct `lib/qt-5.x` prefix for each minor version
Using a distinct prefix for plugins and QML libraries allows multiple Qt 5 minor
versions to coexist in the same environment.
Diffstat (limited to 'pkgs/desktops/plasma-5/libkscreen')
-rw-r--r--pkgs/desktops/plasma-5/libkscreen/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/plasma-5/libkscreen/default.nix b/pkgs/desktops/plasma-5/libkscreen/default.nix
index afb2c20e90cc..6881f95e6d58 100644
--- a/pkgs/desktops/plasma-5/libkscreen/default.nix
+++ b/pkgs/desktops/plasma-5/libkscreen/default.nix
@@ -14,6 +14,6 @@ plasmaPackage {
   ];
   patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
   preConfigure = ''
-    NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputLib}/lib/qt5/plugins/kf5/kscreen\""
+    NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputLib}/$qtPluginPrefix/kf5/kscreen\""
   '';
 }