From dcea0913e5e66f44660b5de7451672bebee7b871 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 2 Jun 2018 13:50:45 -0400 Subject: [PATCH] qt: fixup from c4cac55d6979ccdbc48cf0daf26e44c79cf5d0f9 This commit was too aggressive in adding configure flags. Only qtbsea needs the -no-framework flag to work correctly. Qmake will handle everything else for us. --- pkgs/development/libraries/qt-5/mkDerivation.nix | 3 --- pkgs/development/libraries/qt-5/modules/qtbase.nix | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/libraries/qt-5/mkDerivation.nix b/pkgs/development/libraries/qt-5/mkDerivation.nix index 53949ddd4925..96014cfbc779 100644 --- a/pkgs/development/libraries/qt-5/mkDerivation.nix +++ b/pkgs/development/libraries/qt-5/mkDerivation.nix @@ -16,9 +16,6 @@ let optional (!debug) "-DQT_NO_DEBUG" ++ lib.toList (args.NIX_CFLAGS_COMPILE or []); - configureFlags = [ "-no-framework" ] - ++ (args.configureFlags or []); - cmakeFlags = (args.cmakeFlags or []) ++ [ diff --git a/pkgs/development/libraries/qt-5/modules/qtbase.nix b/pkgs/development/libraries/qt-5/modules/qtbase.nix index 28b250437d08..2bd832300282 100644 --- a/pkgs/development/libraries/qt-5/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-5/modules/qtbase.nix @@ -298,6 +298,7 @@ stdenv.mkDerivation { "-no-fontconfig" "-qt-freetype" "-qt-libpng" + "-no-framework" ] else [