From be153f6323599a0128d384471c42e1f10d0a1f00 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 2 May 2018 16:34:24 +0200 Subject: [PATCH] libsForQt5.qscintilla: don't apply darwin patch on non-darwin systems --- pkgs/development/libraries/qscintilla/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qscintilla/default.nix b/pkgs/development/libraries/qscintilla/default.nix index f442e1bf908e..bc3b44413054 100644 --- a/pkgs/development/libraries/qscintilla/default.nix +++ b/pkgs/development/libraries/qscintilla/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { ++ (if withQt5 then [ qmake ] else [ qmake4Hook ]); - patches = [] ++ lib.optional withQt5 [ xcodePatch ]; + patches = lib.optional (stdenv.isDarwin && withQt5) [ xcodePatch ]; enableParallelBuilding = true;