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
Probably -w just uses a different GHC to run. But it could potentially set base bounds based on the GHC (please confirm it does not) or write the GHC to cabal.project (it does not), so a more verbose commandline help text would prevent confusion by clearly stating this is not the case.
The text was updated successfully, but these errors were encountered:
@Mikolaj I can confirm cabal init uses -w to set base lower bounds (at least version 3.6.2.0)
$ mkdir my-project
$ cd my-project/
~/my-project $ cabal init -w ghc-8.0
Guessing dependencies...
Generating LICENSE...
Warning: unknown license type, you must put a copy in LICENSE yourself.
Generating CHANGELOG.md...
Generating app/Main.hs...
Generating my-project.cabal...
Warning: no synopsis given. You should edit the .cabal file and add one.
You may want to edit the .cabal file and add a Description field.
$ grep base my-project.cabal
build-depends: base ^>=4.9.1.0
~/my-project $ rm -rf *
~/my-project $ cabal init -w ghc-8.10
Guessing dependencies...
Generating LICENSE...
Warning: unknown license type, you must put a copy in LICENSE yourself.
Generating CHANGELOG.md...
Generating app/Main.hs...
Generating my-project.cabal...
Warning: no synopsis given. You should edit the .cabal file and add one.
You may want to edit the .cabal file and add a Description field.
$ grep base my-project.cabal
build-depends: base ^>=4.14.3.0
Probably
-w
just uses a different GHC to run. But it could potentially setbase
bounds based on the GHC (please confirm it does not) or write the GHC tocabal.project
(it does not), so a more verbose commandline help text would prevent confusion by clearly stating this is not the case.The text was updated successfully, but these errors were encountered: