mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #144367 from mkg20001/odoortl
This commit is contained in:
commit
af97b16bb4
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue