swh:1:snp:510544f7899e7fee487ee146b60cd834a253fd12
Tip revision: 67e47efea6442eef5b7a3bfd5991bd2c56daf360 authored by Adrien Koutsos on 01 March 2023, 11:53:24 UTC
fixed compilation issues after merge.
fixed compilation issues after merge.
Tip revision: 67e47ef
default.nix
{ withProvers ? false, devDeps ? [] }:
with import <nixpkgs> {};
let provers =
if withProvers then [
alt-ergo
z3
] else []; in
stdenv.mkDerivation {
pname = "easycrypt";
version = "git";
src = ./.;
buildInputs = [ git ] ++ (with ocamlPackages; [
ocaml
findlib
batteries
camlp-streams
dune_3
dune-build-info
dune-site
inifiles
menhir
menhirLib
yojson
why3
zarith
]);
propagatedBuildInputs = [ why3 ]
++ devDeps
++ provers;
installPhase = ''
runHook preInstall
dune install --prefix $out -p $pname
runHook postInstall
'';
}