We are hiring ! See our job offers.
Revision 058022c3be6121e485ecf48e19424d1ed36dc535 authored by Fran├žois Dupressoir on 19 January 2022, 19:29:05 UTC, committed by Fran├žois Dupressoir on 19 January 2022, 19:29:05 UTC
1 parent 46ba308
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