Skip to content

META template and Melange #284

@jchavarri

Description

@jchavarri

Hi, I am trying to make ppx_deriving compatible with Melange. Unfortunately, Melange is not compatible with packages that have a META template, and Dune diligently makes that check when trying to build Melange packages.

When removing the META template, some packages that depend on it like bpf or nocrypto fail to build because the PPX does not kick in, so the generated functions are not there.

I wonder if there's a way to configure ppx_deriving in a way where the META template is not necessary, like other PPXs? So that Melange support can be added. I have read the Dune docs about META files but I'm still confused about why it's necessary in ppx_deriving case. Thanks!

cc @anmonteiro @rgrinberg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions