Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

lost git info using cabal v2-install #23

@jneira

Description

@jneira
  • cabal v2-install builds the excutable in a temp directory, instead use the generated locally in the project dir
    • in that directory there is no .git to extract the required info
  • cabal v2-run my-program works as intended
  • the workaround is to use the local copy of the executable inside dist-newstyle, generated by cabal v2-build
  • not sure if the solution could be being able to use a directory outside the project (see Get information from outside of the project #18)

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