Revision f1ce5ae91239bc4fcbcda6c35a619c95db057bb4 authored by Pierre-Yves Strub on 09 May 2022, 10:46:10 UTC, committed by Pierre-Yves Strub on 09 May 2022, 11:54:13 UTC
Co-authored-by: Christian Doczkal <christian.doczkal@mpi-sp.org>
1 parent a49a0ac
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