28 lines
560 B
Nix
28 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";
|
||
|
};
|
||
|
}
|