Skip to content

Support for cabal 2.4's native remote vcs repo dependencies #5

@hvr

Description

@hvr

besides the current mode which invokes git clone for you, stack2cabal ought to support mapping remote git repo deps in stack2yaml to cabal's new native support for them;

Current syntax looks like so

source-repository-package
    type: git
    location: https://github.com/well-typed/cborg
    tag: 3d274c14ca3077c3a081ba7ad57c5182da65c8c1
    subdir: cborg

source-repository-package
    type: git
    location: https://github.com/serokell/time-units.git
    tag: 6c3747c1ac794f952de996dd7ba8a2f6d63bf132

cabal 2.4 probably won't be able to support specifying multiple subdirs in a single source-repository-package stanza yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions