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

Karel Gardas karel.gardas at centrum.cz
Sun Jan 5 17:40:22 UTC 2014


Herbert,

thanks for the note, the issue is here: 
https://github.com/haskell/cabal/issues/1641

Karel

On 01/ 5/14 06:29 PM, Herbert Valerio Riedel wrote:
> 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
>



More information about the ghc-devs mailing list