haskell / haskell/cabal

More information in the Paths_pkg.hs module, or a new module

Open
#392 1 comment 0 reactions 0 assignees View on GitHub
Cabal: other old-milestone: ⊥ type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(Imported from [Trac #399](http://hackage.haskell.org/trac/hackage/ticket/399), reported by @dcoutts on 2008-11-08)

There is more information about the system or about the package or configuration that we could include into a generated module.

For example:

  • OS name (from standard enum names, not System.Info.os)
  • Arch name (similarly)
  • Compiler used for build
  • Package version (perhaps moved out of the Paths_ module)
  • Other .cabal file package details (as Strings)
    • x-foo extension fields
    • license enum
    • authors, copyright
    • synopsis / description
    • home page, bug report url
    • configuration flag values
  • System details
    • big or little endian
  • Revision control context
    • git hash
    • darcs context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.