qt5.qtwebengine: fix Qt version number in cmake

Previously fixed in 97904f8424
and #118084, but the fix was only applied to linux platforms.

This fixes libraries that depend on qtwebengine under darwin platforms.
This commit is contained in:
Mathieu Rene 2023-03-12 16:12:45 -04:00
parent 90829d5034
commit 8df017265e

View file

@ -221,6 +221,7 @@ qtModule {
Prefix = ..
EOF
'' + ''
# Fix for out-of-sync QtWebEngine and Qt releases (since 5.15.3)
sed 's/${lib.head (lib.splitString "-" version)} /${qtCompatVersion} /' -i "$out"/lib/cmake/*/*Config.cmake
'';