[Fwd: Re: Adding an option to cabal-install]

jim burton jim at sdf-eu.org
Thu Dec 20 17:23:31 EST 2007


-------- Forwarded Message --------
[snip]
> 
> You're quite right, that would be much neater. I've no experience with
> Windows programming though, so I'd welcome any input. Google suggests
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
> Settings] is the key we want and I suppose I need System.Win32.Registry,
> hKEY_CURRENT_USER and regCreateKey? 
> 
> What is the normal/best way of switching on OS?
> 
You can ignore that one, I think it's OPTIONS cpp and #ifdef WIN32. But
is it possible to do the same thing in the .cabal file, so windows users
don't need `unix' and vice versa?

Jim 
> > 
> > Duncan
> > 



More information about the cabal-devel mailing list