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

Simon Michael simon at joyful.com
Tue Nov 18 00:06:41 GMT 2025


Thanks for the package update and bug report.

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 ?

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.



More information about the Pkg-haskell-maintainers mailing list