cabal2nix-2.3: Convert Cabal files into Nix build instructions.

Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.Hackage

Synopsis

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.