qt6.qttranslations: bootstrap directly (#403944)

K900 28aa7c30 a37c5966

Changed files
+7 -15
pkgs
development
libraries
+7 -15
pkgs/development/libraries/qt-6/default.nix
···
qtsvg = callPackage ./modules/qtsvg.nix { };
qtscxml = callPackage ./modules/qtscxml.nix { };
qttools = callPackage ./modules/qttools { };
-
qttranslations = callPackage ./modules/qttranslations.nix { };
+
qttranslations = callPackage ./modules/qttranslations.nix {
+
qttools = self.qttools.override {
+
qtbase = self.qtbase.override { qttranslations = null; };
+
qtdeclarative = null;
+
};
+
};
qtvirtualkeyboard = callPackage ./modules/qtvirtualkeyboard.nix { };
qtwayland = callPackage ./modules/qtwayland.nix { };
qtwebchannel = callPackage ./modules/qtwebchannel.nix { };
···
otherSplices = generateSplicesForMkScope "qt6";
f = addPackages;
};
-
-
bootstrapScope = baseScope.overrideScope (
-
final: prev: {
-
qtbase = prev.qtbase.override { qttranslations = null; };
-
qtdeclarative = null;
-
}
-
);
-
-
finalScope = baseScope.overrideScope (
-
final: prev: {
-
qttranslations = bootstrapScope.qttranslations;
-
}
-
);
in
-
finalScope
+
baseScope