diff --git a/relic-sdk.opam b/relic-sdk.opam index ee5b3ff..2b4f73e 100644 --- a/relic-sdk.opam +++ b/relic-sdk.opam @@ -23,7 +23,7 @@ depends: [ "bisect_ppx" {with-test & >= "2.3.0"} "ocamlformat" {with-dev-setup & >= "0.26.1"} "base" {>= "v0.12.0"} - "dune" {>= "3.10"} + "dune" {>= "3.10" & >= "3.15.0"} "dune-build-info" "odoc" {with-doc} ] diff --git a/shell.nix b/shell.nix index d4f094d..4ddb0c3 100644 --- a/shell.nix +++ b/shell.nix @@ -12,5 +12,10 @@ pkgs.mkShell{ openssl ocamlPackages.ocamlformat pkg-config + zlib ]; + shellHook = '' + export C_INCLUDE_PATH=${pkgs.zlib.dev}/include:$C_INCLUDE_PATH + export LIBRARY_PATH=${pkgs.zlib}/lib:$LIBRARY_PATH + ''; }