Revision 09f22797bb9203fedfedd0df219b4ab3510bd9d0 authored by Pierre-Yves Strub on 28 September 2021, 12:08:41 UTC, committed by Pierre-Yves Strub on 28 September 2021, 12:08:41 UTC
1 parent cc8838a
Raw File
default.nix
with import <nixpkgs> {};

if !lib.versionAtLeast why3.version "1.4" then
  throw "please update your nixpkgs channel: nix-channel --update"
else
stdenv.mkDerivation {
  name = "easycrypt-1.0";
  src = ./.;
  buildInputs = [ why3 ]
    ++ (with ocamlPackages; [ ocaml findlib ocamlbuild batteries menhir menhirLib merlin zarith inifiles yojson])
    ;
  installFlags = [ "PREFIX=$(out)" ];
}
back to top