Safe Haskell | None |
---|---|
Language | Haskell2010 |
- readHashedHackage :: IO Hackage
- readHashedHackage' :: FilePath -> IO Hackage
- module Distribution.Hackage.DB
Documentation
readHashedHackage :: IO Hackage Source #
A variant of readHackage
that adds the SHA256 digest of the
original Cabal file to the parsed GenericPackageDescription
. That
hash is required to build packages with an "edited" cabal file,
because Nix needs to download the edited file and patch it into the
original tarball.
module Distribution.Hackage.DB