https://github.com/EasyCrypt/easycrypt
Revision bfd4f84ff05bb15c8b01a8e92ed72730abf4eada authored by Pierre-Yves Strub on 07 April 2022, 15:11:17 UTC, committed by Pierre-Yves Strub on 22 April 2022, 06:59:22 UTC
The API was s.t. it was possibly to detect a non-empty stack
as an empty one.

Partially address #121
1 parent ecb156d
Raw File
Tip revision: bfd4f84ff05bb15c8b01a8e92ed72730abf4eada authored by Pierre-Yves Strub on 07 April 2022, 15:11:17 UTC
[reduction]: in cbv, fix handling of stack arguments
Tip revision: bfd4f84
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