Skip to content

Commit c2ff0ea

Browse files
committed
flake/packages: dynamic upstream ocaml imports
1 parent 8a590d9 commit c2ff0ea

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

flake.nix

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,9 @@
103103
modules = [
104104
{
105105
# https://devenv.sh/reference/options/
106-
packages = [
107-
inputs.fstar.packages.${system}.z3
108-
] ++ (with inputs.fstar.packages.${system}.ocamlPackages; [
109-
menhir
110-
batteries
111-
menhirLib
112-
pprint
113-
ppx_deriving
114-
ppx_deriving_yojson
115-
ppxlib
116-
process
117-
sedlex
118-
stdint
119-
yojson
120-
zarith
121-
]);
106+
packages = with inputs.fstar.packages.${system}; [ z3 ]
107+
++ fstar-dune.buildInputs
108+
++ fstar-dune.nativeBuildInputs;
122109

123110
env.OCAMLPATH = "${inputs.fstar.packages.${system}.fstar}/lib/ocaml/4.14.1/site-lib";
124111
env.PULSE_HOME = ".";

0 commit comments

Comments
 (0)