Skip to content

Correct the flag setting for mintty to match the shipped Win32-2.10 - #6304

Merged
DanBurton merged 1 commit into
commercialhaskell:masterfrom
andreasabel:mintty-win32
Nov 15, 2021
Merged

DanBurton merged 1 commit into
commercialhaskell:masterfrom
andreasabel:mintty-win32

Conversation

@andreasabel

Copy link
Copy Markdown
Contributor

Fixes this compilation problem:

$ stack build --stack-yaml=stack-9.0.1.yaml --test
WARNING: Ignoring mintty's bounds on Win32 (>=2.13.1); using Win32-2.10.0.0.
Reason: trusting snapshot over cabal file dependency information.
mintty              > Configuring mintty-0.1.3...
mintty              > Building library for mintty-0.1.3..
mintty              > [1 of 1] Compiling System.Console.MinTTY
mintty              >
mintty              > src\System\Console\MinTTY.hs:31:1: error:
mintty              >     Could not find module `System.Console.MinTTY.Win32'
mintty              >     Use -v (or `:set -v` in ghci) to see a list of the files searched for.
mintty              >    |
mintty              > 31 | import qualified System.Console.MinTTY.Win32 as Win32 (isMinTTY, isMinTTYHandle)

Further reading: RyanGlScott/mintty#4

@cloud8421

Copy link
Copy Markdown

Apologies but, I'm not familiar with the infrastructure of the project.

I'm currently using https://www.stackage.org/lts-18.17, for this change to take effect should I wait for a new LTS release? Or does it apply retroactively to 18.17? Thanks!

@DanBurton

Copy link
Copy Markdown
Contributor

Changes do not apply retroactively to old snapshots. There are ways to configure stack via stack.yaml to override the snapshot's package flags.

https://docs.haskellstack.org/en/stable/yaml_configuration/#flags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants