Merge pull request #118084 from rnhmjoj/qtwebengine-fix
qt5.qtwebengine: fix Qt version number in cmake
This commit is contained in:
commit
f074dbaf21
@ -203,7 +203,9 @@ let
|
|||||||
qtvirtualkeyboard = callPackage ../modules/qtvirtualkeyboard.nix {};
|
qtvirtualkeyboard = callPackage ../modules/qtvirtualkeyboard.nix {};
|
||||||
qtwayland = callPackage ../modules/qtwayland.nix {};
|
qtwayland = callPackage ../modules/qtwayland.nix {};
|
||||||
qtwebchannel = callPackage ../modules/qtwebchannel.nix {};
|
qtwebchannel = callPackage ../modules/qtwebchannel.nix {};
|
||||||
qtwebengine = callPackage ../modules/qtwebengine.nix {};
|
qtwebengine = callPackage ../modules/qtwebengine.nix {
|
||||||
|
inherit (srcs.qtwebengine) version;
|
||||||
|
};
|
||||||
qtwebglplugin = callPackage ../modules/qtwebglplugin.nix {};
|
qtwebglplugin = callPackage ../modules/qtwebglplugin.nix {};
|
||||||
qtwebkit = callPackage ../modules/qtwebkit.nix {};
|
qtwebkit = callPackage ../modules/qtwebkit.nix {};
|
||||||
qtwebsockets = callPackage ../modules/qtwebsockets.nix {};
|
qtwebsockets = callPackage ../modules/qtwebsockets.nix {};
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
, cups, darwin, openbsm, runCommand, xcbuild, writeScriptBin
|
, cups, darwin, openbsm, runCommand, xcbuild, writeScriptBin
|
||||||
, ffmpeg_3 ? null
|
, ffmpeg_3 ? null
|
||||||
, lib, stdenv, fetchpatch
|
, lib, stdenv, fetchpatch
|
||||||
|
, version ? null
|
||||||
, qtCompatVersion
|
, qtCompatVersion
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -230,6 +231,9 @@ qtModule {
|
|||||||
[Paths]
|
[Paths]
|
||||||
Prefix = ..
|
Prefix = ..
|
||||||
EOF
|
EOF
|
||||||
|
'' + lib.optionalString (lib.versions.majorMinor qtCompatVersion == "5.15") ''
|
||||||
|
# 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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user