summary refs log tree commit diff
path: root/pkgs/development/libraries/qmltermwidget/default.nix
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/development/libraries/qmltermwidget/default.nix
parent08d25152b85fb24f7b5b85efe25d6be4deb12227 (diff)
downloadnixpkgs-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar
nixpkgs-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.gz
nixpkgs-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.bz2
nixpkgs-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.lz
nixpkgs-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.xz
nixpkgs-3f3d33a07867116446ec9b5e2675ef1c8de8127d.tar.zst
nixpkgs-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/development/libraries/qmltermwidget/default.nix')
-rw-r--r--pkgs/development/libraries/qmltermwidget/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qmltermwidget/default.nix b/pkgs/development/libraries/qmltermwidget/default.nix
index bb058711b2e..88d942b9fd7 100644
--- a/pkgs/development/libraries/qmltermwidget/default.nix
+++ b/pkgs/development/libraries/qmltermwidget/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
 
   patchPhase = ''
     substituteInPlace qmltermwidget.pro \
-      --replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
+      --replace '$$[QT_INSTALL_QML]' "/$qtQmlPrefix/"
   '';
 
   installFlags = [ "INSTALL_ROOT=$(out)" ];