Merge pull request #144367 from mkg20001/odoortl
This commit is contained in:
commit
af97b16bb4
@ -3,19 +3,12 @@
|
|||||||
, fetchurl
|
, fetchurl
|
||||||
, python3
|
, python3
|
||||||
, python3Packages
|
, python3Packages
|
||||||
|
, nodePackages
|
||||||
, wkhtmltopdf
|
, wkhtmltopdf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
TODO:
|
|
||||||
For languages with right-to-left interface (such as Arabic or Hebrew), the package rtlcss is needed:
|
|
||||||
$ sudo npm install -g rtlcss
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "odoo";
|
pname = "odoo";
|
||||||
|
|
||||||
@ -40,12 +33,13 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wkhtmltopdf
|
wkhtmltopdf
|
||||||
|
nodePackages.rtlcss
|
||||||
];
|
];
|
||||||
|
|
||||||
# needs some investigation
|
# needs some investigation
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
makeWrapperArgs = [ "--prefix" "PATH" ":" "${wkhtmltopdf}/bin" ];
|
makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
Babel
|
Babel
|
||||||
|
Loading…
Reference in New Issue
Block a user