cross: qt5.qtbase: build in qemu, not binfmt (holy cow, it actually builds this way)
This commit is contained in:
parent
d31aac4d19
commit
c3bb776149
|
@ -1210,11 +1210,12 @@ in {
|
||||||
# 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.
|
||||||
mkDerivation = self.mkDerivationWith final.stdenv.mkDerivation;
|
mkDerivation = self.mkDerivationWith final.stdenv.mkDerivation;
|
||||||
callPackage = self.newScope { inherit (self) qtCompatVersion qtModule srcs; inherit (final) stdenv; };
|
callPackage = self.newScope { inherit (self) qtCompatVersion qtModule srcs; inherit (final) stdenv; };
|
||||||
qtbase = super.qtbase.override {
|
qtbase = emulateBuildMachine super.qtbase;
|
||||||
# qtbase is the only thing in `qt5` scope that references `[stdenv.]mkDerivation`.
|
# qtbase = super.qtbase.override {
|
||||||
# to emulate it, we emulate stdenv; all the other qt5 members are emulated via `qt5.qtModule`
|
# # qtbase is the only thing in `qt5` scope that references `[stdenv.]mkDerivation`.
|
||||||
inherit (emulated) stdenv;
|
# # to emulate it, we emulate stdenv; all the other qt5 members are emulated via `qt5.qtModule`
|
||||||
};
|
# inherit (emulated) stdenv;
|
||||||
|
# };
|
||||||
});
|
});
|
||||||
# qt5 = emulated.qt5.overrideScope (self: super: {
|
# qt5 = emulated.qt5.overrideScope (self: super: {
|
||||||
# # emulate all the qt5 packages, but rework `libsForQt5.callPackage` and `mkDerivation`
|
# # emulate all the qt5 packages, but rework `libsForQt5.callPackage` and `mkDerivation`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user