@@ -22,12 +22,24 @@ python3.pkgs.buildPythonApplication rec {
2222 url = "https://github.com/Neo23x0/yarGen/commit/cae14ac8efeb5536885792cae99d1d0f7fb6fde3.patch";
2323 sha256 = "0z6925r7n1iysld5c8li5nkm1dbxg8j7pn0626a4vic525vf8ndl";
2424 })
25+ # https://github.com/Neo23x0/yarGen/pull/34
26+ (fetchpatch {
27+ name = "use-cwd-for-abspath.patch";
28+ url = "https://github.com/Neo23x0/yarGen/commit/441dafb702149f5728c2c6736fc08741a46deb26.patch";
29+ sha256 = "lNp3oC2BM7tBzN4AetvPr+xJLz6KkZxQmsldeZaxJQU=";
30+ })
2531 ];
2632
33+ postPatch = ''
34+ substituteInPlace yarGen.py \
35+ --replace "./3rdparty/strings.xml" "$out/share/yarGen/3rdparty/strings.xml"
36+ '';
37+
2738 installPhase = ''
2839 runHook preInstall
2940
3041 install -Dt "$out/bin" yarGen.py
42+ install -Dt "$out/share/yarGen/3rdparty" 3rdparty/strings.xml
3143
3244 runHook postInstall
3345 '';