[PATCH] platformFromTriple: fix to recognize Solaris triple (i386-pc-solaris2.11)

Herbert Valerio Riedel hvriedel at gmail.com
Sun Jan 5 17:29:18 UTC 2014


Hello Karel,

Please submit this fix at the upstream Cabal project
at https://github.com/haskell/cabal/issues

When it's merged upstream we can sync up GHC's in-tree copy of the Cabal
library to Cabal upstream.

Thanks,
   hvr

On 2014-01-05 at 18:14:08 +0100, Karel Gardas wrote:
> ---
>  Cabal/Distribution/System.hs |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Cabal/Distribution/System.hs b/Cabal/Distribution/System.hs
> index a18e491..4fc76f6 100644
> --- a/Cabal/Distribution/System.hs
> +++ b/Cabal/Distribution/System.hs
> @@ -89,7 +89,7 @@ osAliases Compat     Windows = ["mingw32", "win32"]
>  osAliases _          OSX     = ["darwin"]
>  osAliases _          IOS     = ["ios"]
>  osAliases Permissive FreeBSD = ["kfreebsdgnu"]
> -osAliases Permissive Solaris = ["solaris2"]
> +osAliases _          Solaris = ["solaris2"]
>  osAliases _          _       = []
>  
>  instance Text OS where

-- 
"Elegance is not optional" -- Richard O'Keefe


More information about the ghc-devs mailing list