Commit Graph

14 Commits

Author SHA1 Message Date
Simon Michael
daf8301ade ;pkg:stack: drop obsolete systemencoding flag [#2319] 2025-02-16 07:19:09 -10:00
Simon Michael
75c0197c08 pkg:stack: use latest snapshots 2025-02-15 15:22:33 -10:00
Joschua Kesper
5114962b2a feat:csv: add an encoding rule, allowing non-UTF8 CSV to be read [#2319]
Previously, hledger could read CSV files containing non-ascii
characters only if they are UTF8-encoded.  Now there is a new CSV
rule, encoding ENCODING, which allows reading CSV files with other
encodings.

This adds a dependency on the encoding library, which supports fewer
encodings than text-icu but does not require a third-party C library.
To avoid build issues on various platforms, we require version 0.10+.

This adds some use of the ImplicitParams language extension, required
by encoding's API, but only in a small code region.

This also changes the type of Reader's rReadFn; it now takes
a `Handle` rather than a `Text`, allowing more flexibility.
2025-02-15 14:48:30 -10:00
Simon Michael
b572d6b1ca ;pkg: stack98: use lts-23 2024-12-09 15:37:20 -10:00
Simon Michael
de9095792e ;stack: 9.0-9.8: add base-compat-0.14, needed since 1c45496 2024-09-30
I think base-compat-batteries is unnecessary.
I have not tested all these build plans.
2024-10-24 10:44:28 -10:00
Simon Michael
7325b75d5b imp: rename ghcdebug build flag to debug, and enable stack traces with it
Builds made with ghc 9.10+ and the 'debug' build flag, will show
(some kind of, partial) stack traces when the program ends with an
error. (And also will have ghc-debug support enabled.)

The stack traces will probably improve in due course.
2024-10-19 18:47:03 -10:00
Simon Michael
ebd8a87177 dev: rename stack.yaml to 9.8 2024-09-30 17:20:13 -10:00
Simon Michael
4cec8aa0d7 pkg:stack:9.8: make default 2024-02-28 13:35:15 -10:00
Simon Michael
cf192de502 pkg:stack:9.8: updates 2024-02-28 13:34:07 -10:00
Simon Michael
9827860f17 ;dev:pkg:stack: bump nightly 2024-02-26 14:52:00 -10:00
Simon Michael
5519065a94 ;pkg:stack:9.8: can now build all packages 2024-02-19 11:25:05 -10:00
Simon Michael
015943b93d ;pkg:stack:9.8: updates 2024-01-26 22:48:05 -10:00
Simon Michael
2a99b3d456 imp: stack: build with ghc 9.8, latest stackage nightly 2024-01-04 08:24:50 -10:00
Simon Michael
2de0901d71 ;dev:stack: stack9.8.yaml 2023-10-15 13:56:47 +01:00