Skip to content

Commit

Permalink
Update flake.nix
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Dec 16, 2024
1 parent a216715 commit 76faa7c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
nativeBuildInputs = [ pkgs.ocamlPackages.gen_js_api ];
propagatedBuildInputs =
(with pkgs.ocamlPackages; [
gen_js_api
js_of_ocaml
js_of_ocaml-ppx
gen_js_api
]);
duneVersion = "3";
};
Expand All @@ -38,10 +38,10 @@
src = ./.;
duneVersion = "3";
propagatedBuildInputs = with pkgs.ocamlPackages; [
js_of_ocaml
gen_js_api
promise_jsoo
js_of_ocaml
jsonoo
promise_jsoo
];
checkInputs = with pkgs.ocamlPackages; [ ];
doCheck = true;
Expand All @@ -51,26 +51,25 @@
inherit (packages.vscode) src version;
propagatedBuildInputs = [ packages.vscode jsonoo ] ++
(with pkgs.ocamlPackages; [
js_of_ocaml
gen_js_api
base
promise_jsoo
gen_js_api
js_of_ocaml
ocaml-version
ppxlib
opam-file-format
ppxlib
promise_jsoo
]);
duneVersion = "3";
};
};
devShells.default = pkgs.mkShell {
inputsFrom = pkgs.lib.attrValues packages;
buildInputs = with pkgs.ocamlPackages; [
pkgs.yarn-berry
jsonoo
ocaml-lsp
pkgs.ocamlformat_0_26_2
pkgs.ocamlformat_0_27_0
pkgs.vscode
pkgs.nodePackages.parcel
pkgs.yarn-berry
];
shellHook = ''
make npm-deps
Expand Down

0 comments on commit 76faa7c

Please sign in to comment.