Skip to content

Add a new --exclude-sections argument to opam-installer #7105

Description

@kit-ty-kate

I was looking at our /process.sed script and wondered if it's still used.
It is and was added in a0a24fc and 3a98255 to be able to filter out the lib and doc fields from the generated .install file (which are auto-filled by dune for some reason)
However it feels to me that it's a band-aid for an opam-installer feature that seems useful to me: a way to install a package partially.

This would allow us to replace this script by a simple: opam-installer --exclude-sections=doc,lib

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions