Revision 685172920a2ae44411e82fcaf80ad7b7149d50ea authored by Christian Doczkal on 01 November 2021, 10:09:10 UTC, committed by Pierre-Yves Strub on 04 November 2021, 10:00:49 UTC
1 parent a21c135
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