hackage-security
hackage-security copied to clipboard
Use hackage-security library to extract `.cabal` files from the index
- [ ] Use library to extract .
cabalfiles (and verify signatures once we introduce author signing; until that time this is just an optimization). - [ ] Avoid creation of the
cabal-specific tar index in favour of the index created byhackage-security(though note that the latter does not contain any information aboutpreferred-versions). This should speed upcabal update. - [ ] Once
cabal-installonly access the index through the security library, rename00-index.tarand co to01-index.tar(unless we can about older cabal's access?)
We now use the hackage-security cache to construct the cabal-install cache, but everything else on this ticket will be delegated to phase 2.