From d5053d12eb23377bcc860f8cb3bfa65c4507772d Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Wed, 13 Nov 2019 23:13:02 +0100 Subject: [PATCH] ocamlPackages.lwt_ppx: fix dependency propagation dune was showing this error when using lwt_ppx: File "/nix/store/sz4cg32ph84lapgs50xv73s3a0baqq2s-ocaml4.08.1-lwt_ppx-4.2.1/lib/ocaml/4.08.1/site-lib/lwt_ppx/dune-package", line 11, characters 56-75: 11 | (requires compiler-libs.common ocaml-migrate-parsetree ppx_tools_versioned) ^^^^^^^^^^^^^^^^^^^ Error: Library "ppx_tools_versioned" not found. -> required by library "lwt_ppx" in /nix/store/sz4cg32ph84lapgs50xv73s3a0baqq2s-ocaml4.08.1-lwt_ppx-4.2.1/lib/ocaml/4.08.1/site-lib/lwt_ppx -> required by executable wizytests in dune:6 Hint: try: dune external-lib-deps --missing @@default --- pkgs/development/ocaml-modules/lwt/ppx.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/lwt/ppx.nix b/pkgs/development/ocaml-modules/lwt/ppx.nix index fbd061a6566..4ad6fc2c471 100644 --- a/pkgs/development/ocaml-modules/lwt/ppx.nix +++ b/pkgs/development/ocaml-modules/lwt/ppx.nix @@ -5,8 +5,7 @@ buildDunePackage { inherit (lwt) src version; - buildInputs = [ ppx_tools_versioned ]; - propagatedBuildInputs = [ lwt ]; + propagatedBuildInputs = [ lwt ppx_tools_versioned ]; meta = { description = "Ppx syntax extension for Lwt";