nixpkgs/pkgs/development/libraries/qt-5/modules/qttranslations.nix
K900 68cc02588d qt5: include qttranslations properly
Qt loads its own translations from a hardcoded path, and those are used
(among other things) for determining RTL layout preferences in applications,
so they are definitely something we want to have.

This adds a qtbase/qttools rebuild to the chain, but it's fast enough that it's
probably fine.

Another approach would be to load translation paths from the environment,
and inject it in wrapQtAppsHook, but that seems like more complexity
for very questionable build time savings.
2023-08-15 22:11:10 +03:00

8 lines
123 B
Nix

{ qtModule, qttools }:
qtModule {
pname = "qttranslations";
nativeBuildInputs = [ qttools ];
outputs = [ "out" ];
}