Revert "stack.yaml: Updated to lts-19.16"

This reverts commit b5dc04099e.

Broke windows build, because the new lts updates Win32 to a version that
lacks a function that git-annex needs. git-annex.cabal depends on an
older Win32, and so stack build fails.

Will need to wait to update stack.yaml until this is fixed
https://github.com/haskell/win32/issues/208
and is in a new LTS release.
This commit is contained in:
Joey Hess 2022-08-01 13:24:46 -04:00
parent 010332dba3
commit dddaec1b74
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 27 additions and 3 deletions

View file

@ -90,3 +90,5 @@ Git Annex is great. I use it several times a week with my multigigabyte backups,
[[!meta author=jkniiv]]
[[!meta title="windows: Resolver lts-19.16 still causes trouble with Win32 for stack builds"]]
> reverted, [[done]] --[[Joey]]

View file

@ -0,0 +1,18 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2022-08-01T17:13:22Z"
content="""
Hey, thanks and sorry for inflicting that stack change on you a second
time. I hypothesized that the toolchain installation, that failed before,
might have been a transient problem, and it seems it was, but now these other
problems surface..
Surprisingly, putting Win32 in the stack file does not break stack build
on linux. But I don't like putting it in there regardless, and needing
to downgrade the other dependencies for it is also suboptimal.
I'll revert the stack.yaml change again, and it seems we'll need to wait for
[[todo/windows__58___prepare_for_Win32_not_export_c__95___entities]]
to be fixed before updating it.
"""]]

View file

@ -12,13 +12,17 @@ flags:
gitlfs: true
packages:
- '.'
resolver: lts-19.16
resolver: lts-18.13
extra-deps:
- IfElse-0.85
- aws-0.22.1
- aws-0.22
- bloomfilter-2.0.1.0
- git-lfs-1.2.0
- http-client-restricted-0.0.5
- http-client-restricted-0.0.4
- network-multicast-0.3.2
- sandi-0.5
- torrent-10000.1.1
- base16-bytestring-0.1.1.7
- base64-bytestring-1.0.0.3
- bencode-0.6.1.1
- http-client-0.7.9