tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
odoo: add rtlcss depenency
Maciej Krüger
4 years ago
4631d5e0
44697d1e
+3
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
finance
odoo
default.nix
+3
-9
pkgs/applications/finance/odoo/default.nix
···
3
3
, fetchurl
4
4
, python3
5
5
, python3Packages
6
6
+
, nodePackages
6
7
, wkhtmltopdf
7
8
}:
8
9
9
10
with python3Packages;
10
10
-
11
11
-
/*
12
12
-
13
13
-
TODO:
14
14
-
For languages with right-to-left interface (such as Arabic or Hebrew), the package rtlcss is needed:
15
15
-
$ sudo npm install -g rtlcss
16
16
-
17
17
-
*/
18
11
19
12
buildPythonApplication rec {
20
13
pname = "odoo";
···
40
33
41
34
buildInputs = [
42
35
wkhtmltopdf
36
36
+
nodePackages.rtlcss
43
37
];
44
38
45
39
# needs some investigation
46
40
doCheck = false;
47
41
48
48
-
makeWrapperArgs = [ "--prefix" "PATH" ":" "${wkhtmltopdf}/bin" ];
42
42
+
makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}" ];
49
43
50
44
propagatedBuildInputs = [
51
45
Babel