On Sat, Jan 12, 2013 at 11:25 AM, Stephen Paul Weber <singpol...@singpolyma.net> wrote: > Is there a way to tell cabal to refuse to upgrade a package? I'd like to > pin my `bytestring` to the version that shipped with my GHC. > > I just had a weird experience. When I try to `cabal install iconv` (with my > settings) it tried to downgrade my `bytestring`, when I download and do the > configure+build by hand, it works, but when I try to install the local > version it again begins to try to downgrade my bytestring. If I just > `register --inplace` it works fine. Wut? >
You can put "constraint: bytestring == version" in ~/.cabal/config. Alternatively you can run one `cabal install --constraint "bytestring == version"` command. Shachaf _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users