-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverlay.nix
55 lines (54 loc) · 1.73 KB
/
overlay.nix
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{}:
[
(self: super: {
ocamlPackages = super.ocaml-ng.ocamlPackages_5_1;
})
(self: super: {
ocamlPackages =
super.ocamlPackages.overrideScope'
(oself: osuper:
with oself;
let
melange = oself.melange;
in
{
server-reason-react = buildDunePackage {
pname = "server-reason-react";
version = "n/a";
src = self.fetchFromGitHub {
owner = "ml-in-barcelona";
repo = "server-reason-react";
rev = "95f94f65a1de63ff4403c750602d0baee074f408";
sha256 = "sha256-CIMxkElHW6GARt8WKe+mr+G/MNkMfxvP/Q6yI1nFG+M=";
};
nativeBuildInputs = [
reason
osuper.melange
reason-native.refmterr
];
propagatedBuildInputs = [
osuper.melange
ocaml_pcre
lwt
lwt_ppx
];
};
reason-react-ppx = osuper.reason-react-ppx.overrideAttrs
(o: {
src = self.fetchFromGitHub {
inherit (o.src) owner repo;
rev = "ddcdf980080c40e1cc62635c7505aa80253d5383";
sha256 = "sha256-SbwDv6QBDPyjU8yCqpPrpEnvgZprT43JIXk7r9EaZ6g=";
};
});
reason-react = osuper.reason-react.overrideAttrs
(o: {
src = self.fetchFromGitHub {
inherit (o.src) owner repo;
rev = "ddcdf980080c40e1cc62635c7505aa80253d5383";
sha256 = "sha256-SbwDv6QBDPyjU8yCqpPrpEnvgZprT43JIXk7r9EaZ6g=";
};
});
});
})
]