blob: 148a79fe5cee5a22d24eef0a37d5f8df8fdafc26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
buildDunePackage,
melange,
reason,
reason-react-ppx,
}:
buildDunePackage (finalAttrs: {
pname = "reason-react";
inherit (reason-react-ppx) version src;
nativeBuildInputs = [
reason
melange
];
buildInputs = [
reason-react-ppx
melange
];
doCheck = true;
# Fix tests with dune 3.17.0
# See https://github.com/reasonml/reason-react/issues/870
preCheck = ''
export DUNE_CACHE=disabled
'';
meta = reason-react-ppx.meta // {
description = "Reason bindings for React.js";
};
})
|