about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix b/nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix
index b75c03debfa2..cec1f1ef7b6e 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/tezos/p2p.nix
@@ -2,13 +2,16 @@
 , buildDunePackage
 , tezos-stdlib
 , tezos-p2p-services
+, tezos-test-services
 , alcotest-lwt
+, astring
 , lwt-watcher
 }:
 
 buildDunePackage {
   pname = "tezos-p2p";
-  inherit (tezos-stdlib) version src useDune2 preBuild doCheck;
+  inherit (tezos-stdlib) version useDune2;
+  src = "${tezos-stdlib.base_src}/src/lib_p2p";
 
   propagatedBuildInputs = [
     tezos-p2p-services
@@ -16,9 +19,13 @@ buildDunePackage {
   ];
 
   checkInputs = [
+    astring
     alcotest-lwt
+    tezos-test-services
   ];
 
+  doCheck = true;
+
   meta = tezos-stdlib.meta // {
     description = "Tezos: library for a pool of P2P connections";
   };