summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tezos/protocol-008-PtEdo2Zk.nix
blob: 49a7f0e638019a7fc3770fd299797e2f1e0c742d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib
, buildDunePackage
, tezos-stdlib
, tezos-protocol-compiler
}:

buildDunePackage {
  pname = "tezos-protocol-008-PtEdo2Zk";
  inherit (tezos-stdlib) version src useDune2 doCheck;

  preBuild = ''
    rm -rf vendors
    substituteInPlace src/proto_008_PtEdo2Zk/lib_protocol/dune.inc --replace "-nostdlib" ""
  '';

  propagatedBuildInputs = [
    tezos-protocol-compiler
  ];

  meta = tezos-stdlib.meta // {
    description = "Tezos/Protocol: economic-protocol definition";
  };
}