News for hackers. Stuff that matters.
Re:Unix core utilities implemented in Haskell by bts on Sunday November 03, 2024 @09:13AM (#42033161)
Hi! A few years ago I found myself wanting an equivalent of `column` that didn’t strip color codes. After I implemented it in Haskell, I found it was useful to use Nix to force statically linking against libraries like gmp to reduce startup time. Perhaps what I ended up doing might be helpful for you too: https://github.com/bts/columnate/blob/master/default.nix
Re:Unix core utilities implemented in Haskell by anardil on Sunday November 03, 2024 @11:46AM (#42034111)
Thank you for the suggestion, I'll give this a whirl! I've fussed around with `--ghc-options '-optl-static -fPIC'` and the like in years past without success.