You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs mention using allow-newer: ^all but trying this gives a parser error.
$ cabal init allow-any-newer --non-interactive
Warning: this is a debug build of cabal-install with assertions enabled.
[Info] Guessing dependencies...
[Info] Using cabal specification: 3.0
[Warn] unknown license type, you must put a copy in LICENSE yourself.
[Info] Creating fresh file CHANGELOG.md...
[Info] Creating fresh directory ./app...
[Info] Creating fresh file app/Main.hs...
[Info] Creating fresh file allow-any-newer.cabal...
[Warn] No synopsis given. You should edit the .cabal file and add one.
[Info] You may want to edit the .cabal file and add a Description field.
$ cd allow-any-newer/
$ cabal build all --enable-tests --enable-benchmarks
Warning: this is a debug build of cabal-install with assertions enabled.
Resolving dependencies...
Build profile: -w ghc-9.10.1 -O1
...
$ echo "allow-newer: all" > cabal.project.local
$ cabal build all --enable-tests --enable-benchmarks
Warning: this is a debug build of cabal-install with assertions enabled.
Resolving dependencies...
Up to date
$ echo "allow-newer: ^all" > cabal.project.local
$ cabal build all --enable-tests --enable-benchmarks
Warning: this is a debug build of cabal-install with assertions enabled.
Error: [Cabal-7090]
Error parsing project local configuration file /.../allow-any-newer/cabal.project.local:1:
"<eitherParsec>" (line 1, column 1):
unexpected "^"
expecting comma or "*"
I see the same behaviour with cabal-install-3.12.1.0 and with cabal-install installed from d988732.
The text was updated successfully, but these errors were encountered:
-- Disregard all `^>=`-style upper bounds when dependency solving allow-newer: ^all
SOURCE: project allow-newer
The docs mention using
allow-newer: ^all
but trying this gives a parser error.I see the same behaviour with
cabal-install-3.12.1.0
and withcabal-install
installed from d988732.The text was updated successfully, but these errors were encountered: