Revision 8f9d979949d3f46549bad24ee0e393e82f81cc7b authored by Benjamin Gregoire on 31 August 2021, 06:39:31 UTC, committed by Benjamin Gregoire on 31 August 2021, 06:39:31 UTC
1 parent ed6c692
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