Revision 46ba308dda73ada52cdbd998fb1c640037d75267 authored by Christian Doczkal on 14 December 2021, 09:43:58 UTC, committed by Pierre-Yves Strub on 05 January 2022, 13:39:35 UTC
Co-authored-by: Francois Dupressoir <fdupress@gmail.com>
1 parent 49e768e
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