yarGen: install strings.xml
Rather than requiring the tool to be run inside the yarGen repo (or somewhere else with a strings.xml), add the strings.xml to the store and use it from there.
This commit is contained in:
parent
fea5850009
commit
50ae69d07e
|
@ -30,10 +30,16 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace yarGen.py \
|
||||||
|
--replace "./3rdparty/strings.xml" "$out/share/yarGen/3rdparty/strings.xml"
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dt "$out/bin" yarGen.py
|
install -Dt "$out/bin" yarGen.py
|
||||||
|
install -Dt "$out/share/yarGen/3rdparty" 3rdparty/strings.xml
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue