6064764516
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
27 lines
560 B
Nix
27 lines
560 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, tezos-stdlib
|
|
, tezos-protocol-compiler
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "tezos-protocol-010-PtGRANAD";
|
|
inherit (tezos-stdlib) version useDune2;
|
|
src = "${tezos-stdlib.base_src}/src/proto_010_PtGRANAD/lib_protocol";
|
|
|
|
preBuild = ''
|
|
rm dune
|
|
cp -f ${tezos-protocol-compiler.src}/dune_protocol dune
|
|
sed -i.back -e s/-nostdlib//g dune.inc
|
|
'';
|
|
|
|
buildInputs = [
|
|
tezos-protocol-compiler
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = tezos-stdlib.meta // {
|
|
description = "Tezos/Protocol: economic-protocol definition";
|
|
};
|
|
}
|