mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
68cc02588d
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.
8 lines
123 B
Nix
8 lines
123 B
Nix
{ qtModule, qttools }:
|
|
|
|
qtModule {
|
|
pname = "qttranslations";
|
|
nativeBuildInputs = [ qttools ];
|
|
outputs = [ "out" ];
|
|
}
|