swh:1:snp:1160b607213f14ec0f922dad3284705c8e588b30
Raw File
Tip revision: 6561b69dcc30a72b8a78c97019cfc46e4df655f0 authored by Pierre-Yves Strub on 19 November 2021, 22:43:31 UTC
prune virtual tc
Tip revision: 6561b69
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