Safe Haskell
David Terei
davidterei at gmail.com
Thu Aug 4 22:22:37 CEST 2011
On 3 August 2011 03:08, Simon Marlow <marlowsd at gmail.com> wrote:
> Perhaps all packages should be trusted by default? (Perhaps with some Cabal
> configuration option to reverse the behaviour). After all, trusting a
> package is a no-op unless the package defines some Safe or Trustworthy
> modules. If we don't do this, then everyone has to explicitly type a bunch
> of 'ghc-pkg trust' commands to avoid compilation failure with Cabal packages
> that use Safe or 'import safe'.
This seems a good change to me. What config option to reverse are you
imagining though? i.e something in a .cabal file? Or a flag for
cabal-install so i could type 'cabal install -no-trust regex-compat'?
Cheers,
David
More information about the Cvs-ghc
mailing list