Skip to content

Commit

Permalink
ocamlPackages.lwt_ppx: fix dependency propagation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wizeman authored and vbgl committed Nov 16, 2019
1 parent 82ed6bd commit d5053d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/development/ocaml-modules/lwt/ppx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit d5053d1

Please sign in to comment.