nixpkgs/pkgs/development/ocaml-modules/tezos/legacy-store.nix
Ulrik Strid a13cdfe520 ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
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
2022-02-24 14:39:27 +01:00

43 lines
807 B
Nix

{ lib
, buildDunePackage
, tezos-stdlib
, tezos-context
, tezos-lmdb
, tezos-validation
, tezos-shell-services
, tezos-protocol-compiler
, lwt-watcher
, alcotest-lwt
}:
buildDunePackage {
pname = "tezos-legacy-store";
inherit (tezos-stdlib) version useDune2;
src = "${tezos-stdlib.base_src}/src/lib_store/legacy_store";
propagatedBuildInputs = [
tezos-context
tezos-lmdb
tezos-validation
tezos-shell-services
lwt-watcher
];
nativeBuildInputs = [
tezos-protocol-compiler
];
strictDeps = true;
checkInputs = [
alcotest-lwt
];
# A lot of extra deps with wide dependency cones needed
doCheck = false;
meta = tezos-stdlib.meta // {
description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing";
};
}