diff options
author | Nick Cao <nickcao@nichi.co> | 2023-04-15 09:37:09 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2023-04-16 22:17:29 +0800 |
commit | 6e8561539eea62d2f9c2327be1d6eda6c7672ebe (patch) | |
tree | f9687e752fa236f59e10b37eb579b6830e9c0463 | |
parent | e15575e3ad381b098bf74239fb096a0246337f0b (diff) |
zeal-qt6: fix build with qt 6.5
-rw-r--r-- | pkgs/data/documentation/zeal/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/data/documentation/zeal/default.nix b/pkgs/data/documentation/zeal/default.nix index 27988d5ee565b..36f0dda5165ef 100644 --- a/pkgs/data/documentation/zeal/default.nix +++ b/pkgs/data/documentation/zeal/default.nix @@ -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 ]; |