odoo: add rtlcss depenency

This commit is contained in:
Maciej Krüger 2021-11-03 08:01:17 +01:00
parent 44697d1e78
commit 4631d5e06e
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -3,19 +3,12 @@
, fetchurl
, python3
, python3Packages
, nodePackages
, wkhtmltopdf
}:
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 {
pname = "odoo";
@ -40,12 +33,13 @@ buildPythonApplication rec {
buildInputs = [
wkhtmltopdf
nodePackages.rtlcss
];
# needs some investigation
doCheck = false;
makeWrapperArgs = [ "--prefix" "PATH" ":" "${wkhtmltopdf}/bin" ];
makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}" ];
propagatedBuildInputs = [
Babel