summaryrefslogtreecommitdiff
path: root/devenv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'devenv.nix')
-rw-r--r--devenv.nix75
1 files changed, 37 insertions, 38 deletions
diff --git a/devenv.nix b/devenv.nix
index dc5f298..7e52fad 100644
--- a/devenv.nix
+++ b/devenv.nix
@@ -49,44 +49,42 @@
};
propagatedBuildInputs = with opkgs; [ppxlib yojson];
};
-
- server-reason-react = opkgs.buildDunePackage {
- pname = "server-reason-react";
- version = "n/a";
- doCheck = true;
-
- src = ./srr;
- # src = pkgs.fetchFromGitHub {
- # owner = "ml-in-barcelona";
- # repo = "server-reason-react";
- # rev = "d5dd436b0a447ff0a82f9a8d7a02f102139299a9";
- # sha256 = "sha256-CIMxkElHW6GARt8WKe+mr+G/MNkMfxvP/Q6yI1nFG+M=";
- # };
- nativeBuildInputs = with opkgs; [
- ocamlformat
- reason
- melange
- reason-native.refmterr
- ];
- propagatedBuildInputs =
- (with opkgs; [
- reason-react
- reason-react-ppx
- melange-json
- melange-json-native
- alcotest-lwt
- ocamlformat
- uucp
- ocaml-quickjs
- yojson
- uri
- melange
- ocaml_pcre
- lwt
- lwt_ppx
- ])
- ++ [pkgs.nodejs];
- };
+ # server-reason-react = opkgs.buildDunePackage {
+ # pname = "server-reason-react";
+ # version = "0.3.1";
+ # doCheck = true;
+ # # src = ./srr;
+ # src = pkgs.fetchFromGitHub {
+ # owner = "ml-in-barcelona";
+ # repo = "server-reason-react";
+ # rev = "d5dd436b0a447ff0a82f9a8d7a02f102139299a9";
+ # sha256 = "sha256-CIMxkElHW6GARt8WKe+mr+G/MNkMfxvP/Q6yI1nFG+M=";
+ # };
+ # nativeBuildInputs = with opkgs; [
+ # # ocamlformat
+ # reason
+ # melange
+ # reason-native.refmterr
+ # ];
+ # propagatedBuildInputs =
+ # (with opkgs; [
+ # uucp
+ # ocaml-quickjs
+ # yojson
+ # uri
+ # melange
+ # ocaml_pcre
+ # lwt
+ # lwt_ppx
+ # # reason-react
+ # # reason-react-ppx
+ # # melange-json
+ # # melange-json-native
+ # # alcotest-lwt
+ # # ocamlformat
+ # ])
+ # ++ [pkgs.nodejs];
+ # };
# nix-ocaml = inputs.nix-ocaml.legacyPackages.${pkgs.system};
in {
# https://devenv.sh/packages/
@@ -101,6 +99,7 @@ in {
])
++ (with oopkgs; [ocaml opam dune_3])
++ [
+ /nix/store/0rqfrhc4j7b7d5zqjdp3g3563305q8vs-ocaml5.2.1-server-reason-react-0.4.0
# server-reason-react
melange-json-native
]