https://github.com/EasyCrypt/easycrypt
Revision 2c531831e8fb581c60e51db80b0540ec66f7034c authored by Pierre-Yves Strub on 07 April 2022, 16:12:18 UTC, committed by Pierre-Yves Strub on 22 April 2022, 06:59:22 UTC
This commit involves a lot of code motion.

partially address #121
1 parent bfd4f84
Raw File
Tip revision: 2c531831e8fb581c60e51db80b0540ec66f7034c authored by Pierre-Yves Strub on 07 April 2022, 16:12:18 UTC
[env]: fully head-norm the type before fetching its top-level decl.
Tip revision: 2c53183
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
      batteries
      dune_2
      dune-build-info
      dune-site
      inifiles
      menhir
      menhirLib
      merlin
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top