To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
29 lines
500 B
Nix
29 lines
500 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, tezos-stdlib
|
|
, tezos-protocol-updater
|
|
, tezos-protocol-compiler
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "tezos-validation";
|
|
inherit (tezos-stdlib) version useDune2;
|
|
src = "${tezos-stdlib.base_src}/src/lib_validation";
|
|
|
|
propagatedBuildInputs = [
|
|
tezos-protocol-updater
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
tezos-protocol-compiler
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = tezos-stdlib.meta // {
|
|
description = "Tezos: library for blocks validation";
|
|
};
|
|
}
|