Ah, I hadn't thought of that. But doesn't the version of GHC change
much more often than the version of base does?

Reiner

On 6 November 2010 03:49, Ozgur Akgun <[email protected]> wrote:
> AFAIK, the way to do this is putting constraints on the base package.
>
> On 5 November 2010 14:59, Reiner Pope <[email protected]> wrote:
>>
>> Hi,
>>
>> I have a library, hmatrix-static, on Hackage. Version 0.3 (the current
>> version) compiles with ghc-6.12.
>>
>> Let's say I want to upgrade my library using new features in ghc-7.0,
>> and then release these upgrades as version 0.4. Is there any way to
>> state in my cabal file that this new version will no longer compile
>> under ghc-6.12? The reason I would like to state this is so that a
>> user with ghc-6.12 can do 'cabal install hmatrix-static' (or do a
>> cabal install of a program depending on hmatrix-static) and see that
>> cabal will install version 0.3 rather than attempt to install version
>> 0.4 and fail.
>>
>> Thanks for your help.
>>
>> Reiner
>> _______________________________________________
>> Haskell-Cafe mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
>
> --
> Ozgur Akgun
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to