libsForQt5.qscintilla: don't apply darwin patch on non-darwin systems

This commit is contained in:
Maximilian Bosch
2018-05-02 16:34:24 +02:00
parent f5e2cfc779
commit be153f6323

View File

@@ -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;