mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
qelectrotech: fix resource paths
Pass QElectroTech resource directories through the Qt wrapper so elements, title blocks and translations are loaded from $out instead of upstream defaults. Closes #534359 Assisted-by: pi coding agent / Mika (OpenAI GPT-5.5)
This commit is contained in:
parent
9fe261e598
commit
8e1cec30c7
1 changed files with 9 additions and 0 deletions
|
|
@ -63,6 +63,15 @@ stdenv.mkDerivation rec {
|
|||
pugixml
|
||||
];
|
||||
|
||||
qtWrapperArgs = [
|
||||
"--add-flags"
|
||||
"--common-elements-dir=${placeholder "out"}/share/qelectrotech/elements"
|
||||
"--add-flags"
|
||||
"--common-tbt-dir=${placeholder "out"}/share/qelectrotech/titleblocks"
|
||||
"--add-flags"
|
||||
"--lang-dir=${placeholder "out"}/share/qelectrotech/lang"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue