Bug#1120833: hledger can't output to less anymore

Nicholas D Steeves sten at debian.org
Tue Nov 18 22:55:15 GMT 2025


"Simon Michael" <simon at joyful.com> writes:

> Thanks for the package update and bug report.

Yes, thank you, and sorry for not catching this (I don't use hledger
with a pager).

> hledger's way of running the pager has changed; it now requires that hledger is built with GHC's -threaded flag. But Debian's hledger has been built with the non-threaded runtime. (`hledger +RTS --info | grep way` shows rts_v instead of rts_thr.)
>
> The -threaded flag is enabled by default in hledger's cabal file. However it's also marked as "manual: False" which means cabal can toggle it off if it feels like it. (I assume Debian is building with cabal and not with stack.) Possibly that's what happened here ?

Could this be because the Debian source copy of the cabal file is not
the Hackage version (which upstream may have applied hot-fixes to)?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120950#19

and/or is it related to the migration to debhelper?  And/or some other
tooling?

> FYI, unrelated to this issue, there's also a bad slowdown in hledger 1.50-1.50.2 
> (https://github.com/simonmichael/hledger/issues/2493). I aim to ship a 1.50.3 ASAP, fixing the slowdown and making -threaded mandatory.

Thank you!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 857 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20251118/880d0f5b/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list