cross: fix qt5.overrideScope' deprecation wraning

This commit is contained in:
2023-08-03 23:47:26 +00:00
parent eb04129959
commit 346a68884b

View File

@@ -1111,7 +1111,7 @@ in {
qt5 = (prev.qt5.override { qt5 = (prev.qt5.override {
# build all qt5 modules using emulation... # build all qt5 modules using emulation...
inherit (emulated) stdenv; inherit (emulated) stdenv;
}).overrideScope' (self: super: { }).overrideScope (self: super: {
# but for anything using `libsForQt5.callPackage`, don't emulate. # but for anything using `libsForQt5.callPackage`, don't emulate.
# note: alternative approach is to only `libsForQt5` (it's a separate scope),. # note: alternative approach is to only `libsForQt5` (it's a separate scope),.
# it inherits so much from the `qt5` scope, so not a clear improvement. # it inherits so much from the `qt5` scope, so not a clear improvement.