Revision 39b256278c8c54a3e67165ac0f602d5d57009e8e authored by Pierre-Yves Strub on 16 February 2022, 06:38:28 UTC, committed by Pierre-Yves Strub on 16 February 2022, 06:38:37 UTC
dune-site is currently in a very alpha-state and not stable enough.

fix #99
fix #115
1 parent ce56b10
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
      batteries
      dune_2
      dune-build-info
      dune-site
      inifiles
      menhir
      menhirLib
      merlin
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top