Revision b93754a8cc433677dd1096c9219cf2d1d3dd23b0 authored by Adrien Koutsos on 14 March 2022, 15:02:48 UTC, committed by Adrien Koutsos on 14 March 2022, 15:02:48 UTC
1 parent aa86882
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