about summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5/5.8/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/qt-5/5.8/default.nix
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/development/libraries/qt-5/5.8/default.nix')
-rw-r--r--pkgs/development/libraries/qt-5/5.8/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qt-5/5.8/default.nix b/pkgs/development/libraries/qt-5/5.8/default.nix
index 2865a879f47d..5a737441fa8e 100644
--- a/pkgs/development/libraries/qt-5/5.8/default.nix
+++ b/pkgs/development/libraries/qt-5/5.8/default.nix
@@ -9,8 +9,9 @@ top-level attribute to `top-level/all-packages.nix`.
 1. Update the URL in `maintainers/scripts/generate-qt.sh`.
 2. From the top of the Nixpkgs tree, run
    `./maintainers/scripts/generate-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
-3. Check that the new packages build correctly.
-4. Commit the changes and open a pull request.
+3. Update `qtCompatVersion` below if the minor version number changes.
+4. Check that the new packages build correctly.
+5. Commit the changes and open a pull request.
 
 */
 
@@ -29,6 +30,8 @@ with stdenv.lib;
 
 let
 
+  qtCompatVersion = "5.8";
+
   mirror = "http://download.qt.io";
   srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
 
@@ -61,7 +64,7 @@ let
 
   addPackages = self: with self;
     let
-      callPackage = self.newScope { inherit qtSubmodule srcs; };
+      callPackage = self.newScope { inherit qtCompatVersion qtSubmodule srcs; };
     in {
 
       qtbase = callPackage ./qtbase {