forked from mirrors/nixpkgs
zeal-qt6: fix build with qt 6.5
This commit is contained in:
parent
e15575e3ad
commit
6e8561539e
|
@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
|
|||
postPatch = ''
|
||||
sed -i CMakeLists.txt \
|
||||
-e 's@^project.*@project(Zeal VERSION ${version})@'
|
||||
'' + lib.optionalString (!isQt5) ''
|
||||
substituteInPlace src/app/CMakeLists.txt \
|
||||
--replace "COMPONENTS Widgets" "COMPONENTS Widgets QmlIntegration"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config wrapQtAppsHook ];
|
||||
|
|
Loading…
Reference in a new issue