C:\Documents and Settings\Administrator>cabal install plugins
Resolving dependencies...
cabal: dependencies conflict: ghc-6.10.1 requires Cabal ==1.6.0.1 however
Cabal-1.6.0.1 was excluded because plugins-1.3.1 requires Cabal ==1.4.*
2009/1/19 Alberto G. Corona :
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAkl0uKYACgkQvpDo5Pfl1oJ30wCfQzX80TulZxyyLLyaAcU/LPVc
PPMAoJl8tjhfrlWwoQ9yVGXlXStMDs+O
=lf6T
-----END PGP SIGNATURE-----
> _______________________________________________
> Haskell-Cafe mailing list
> Haskel...@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
Yes. Suppose you change the deps:
hunk ./plugins.cabal 42
- Cabal >= 1.4 && < 1.5,
+ Cabal >= 1.4,
And then try to compile, you'll see (at least for me):
[ 3 of 16] Compiling System.Plugins.ParsePkgConfCabal (
src/System/Plugins/ParsePkgConfCabal.hs,
dist/build/System/Plugins/ParsePkgConfCabal.o )
src/System/Plugins/ParsePkgConfCabal.hs:287:34:
Ambiguous occurrence `depends'
It could refer to either
`Distribution.InstalledPackageInfo.depends', imported from
Distribution.InstalledPackageInfo at
src/System/Plugins/ParsePkgConfCabal.hs:8:0-39
or `Distribution.Package.depends', imported
from Distribution.Package at
src/System/Plugins/ParsePkgConfCabal.hs:9:0-26
src/System/Plugins/ParsePkgConfCabal.hs:300:36:
Ambiguous occurrence `depends'
It could refer to either
`Distribution.InstalledPackageInfo.depends', imported from
Distribution.InstalledPackageInfo at
src/System/Plugins/ParsePkgConfCabal.hs:8:0-39
or `Distribution.Package.depends', imported
from Distribution.Package at
src/System/Plugins/ParsePkgConfCabal.hs:9:0-26
--
gwern
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Patches welcome. Probably switching to the 1.6 API won't be too hard.