Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.

Make it easier to use cabal2bazel and friends in custom packagesΒ #66

@mjrussell

Description

@mjrussell

The plumbing between hazel and cabal2bazel seems to work really well for many packages on Hackage. I'd like to be able to use the same plumbing in custom packages, such as forks hosted on github, or repos not on Hackage. Unfortunately right now I have to define my own BUILD file, and it is not obvious how to re-use some of that plumbing.

With this infrastructure, it could be possible also to write a preprocessor that runs hpack for projects that use stack and don't checkin cabal files and then kick off to hazel/cabal2bazel.

It seems like majority of the work is done here but Im still getting familiar with the code base so Im not sure how easy that would be able to make something that can be easily invoked.

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