Re: Issue building with ghc-9.8.2 and packages unix, directory, filepath and os-string

Brandon Allbery <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <CAKFCL4XSThenjjpEWx=tFJ4-dMkS83PjJJAugymOVc_XbmXgwA@mail.gmail.com>
Right, the point here is that `allow-newer` _breaks the solver_ and in
particular breaks packages that require it to obey upper bounds (like
`unix`) to produce a valid build plan. Using it blindly is therefore a very
bad idea.

On Sat, Jun 1, 2024 at 11:11 AM Henning Thielemann <
[email protected]> wrote:

>
> On Sat, 1 Jun 2024, Daniel Trstenjak wrote:
>
> > Looking at the compile error of the unix package, it looks like it gets
> > the wrong combination of filepath and os-string packages, resulting in
> > the missing symbols. This depends on the os-string flag, either the unix
> > package gets the older filepath package containing these symbols or the
> > newer one without them and additionally the os-string package now
> > containing the symbols.
> >
> > This handling with the os-string flag feels wrong to me and therefore
> > cabal can‘t resolve the right dependencies.
>
> It would work, but --allow-newer ignores upper version bounds and thus can
> choose old filepath with new os-string.



-- 
brandon s allbery kf8nh
[email protected]

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.