summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5/5.15/default.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2019-10-12 11:17:02 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2021-01-24 09:51:34 -0600
commitb80ce0aecaa1a233d69f3e169ad28c09146c2676 (patch)
tree1a9f8e37bb02002e9501d53ad780783a897d7a38 /pkgs/development/libraries/qt-5/5.15/default.nix
parentc49c0928ed02e336767672c539def93f8f0eced6 (diff)
downloadnixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.tar
nixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.tar.gz
nixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.tar.bz2
nixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.tar.lz
nixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.tar.xz
nixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.tar.zst
nixpkgs-b80ce0aecaa1a233d69f3e169ad28c09146c2676.zip
qmake: Select debug or release build
The qmake hook sets its own `CONFIG+=debug` or `CONFIG+=release` depending on
how `qtbase` was built. We no longer rely on using the custom deriver for this
feature.
Diffstat (limited to 'pkgs/development/libraries/qt-5/5.15/default.nix')
-rw-r--r--pkgs/development/libraries/qt-5/5.15/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-5/5.15/default.nix b/pkgs/development/libraries/qt-5/5.15/default.nix
index a3a0496f160..c3f6ab159c4 100644
--- a/pkgs/development/libraries/qt-5/5.15/default.nix
+++ b/pkgs/development/libraries/qt-5/5.15/default.nix
@@ -179,6 +179,7 @@ let
       qmake = makeSetupHook {
         deps = [ self.qtbase.dev ];
         substitutions = {
+          inherit debug;
           fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh;
         };
       } ../hooks/qmake-hook.sh;