about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix b/nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix
index 70cdff0c0aca..cbebf1e51c63 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix
@@ -4,19 +4,22 @@
 , data-encoding
 , lwt
 , lwt-canceler
+, tezos-lwt-result-stdlib
 , alcotest
 , alcotest-lwt
 }:
 
 buildDunePackage {
   pname = "tezos-error-monad";
-  inherit (tezos-stdlib) version src useDune2 preBuild doCheck;
+  inherit (tezos-stdlib) version useDune2;
+  src = "${tezos-stdlib.base_src}/src/lib_error_monad";
 
   propagatedBuildInputs = [
     tezos-stdlib
     data-encoding
     lwt
     lwt-canceler
+    tezos-lwt-result-stdlib
   ];
 
   checkInputs = [
@@ -24,6 +27,8 @@ buildDunePackage {
     alcotest-lwt
   ];
 
+  doCheck = true;
+
   meta = tezos-stdlib.meta // {
     description = "Tezos: error monad";
   };