Skip to content
Snippets Groups Projects
  • Rodrigo Mesquita's avatar
    3683bb11
    Add hashes to unit-ids created by hadrian · 3683bb11
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    This commit adds support for computing an inputs hash for packages
    compiled by hadrian. The result is that ABI incompatible packages should
    be given different hashes and therefore be distinct in a cabal store.
    
    Hashing is enabled by the `--flag`, and is off by default as the hash
    contains a hash of the source files. We enable it when we produce
    release builds so that the artifacts we distribute have the right unit
    ids.
    3683bb11
    History
    Add hashes to unit-ids created by hadrian
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    This commit adds support for computing an inputs hash for packages
    compiled by hadrian. The result is that ABI incompatible packages should
    be given different hashes and therefore be distinct in a cabal store.
    
    Hashing is enabled by the `--flag`, and is off by default as the hash
    contains a hash of the source files. We enable it when we produce
    release builds so that the artifacts we distribute have the right unit
    ids.
Hash.hs 9.93 KiB