nix-tree icon indicating copy to clipboard operation
nix-tree copied to clipboard

[feature-request] nix-tree as a library

Open MangoIV opened this issue 1 year ago • 2 comments

Hi, it would be nice if you offered to use nix-tree as a library as follows:

  • move the other-modules to a library
  • have the executable only contain the main module

Thanks in advance :)

MangoIV avatar Feb 29 '24 12:02 MangoIV

Oh man - I think having it as a library will encourage people to actually read the horrible code 😅 .

Jokes aside, I'd be happy to do that. I don't intend to maintain backwards compatibility or obey PVP, but there's no harm making it available on Hackage.

It might take some time for me to do that (both personal & work is busy these days), but if you could send a PR I'd happily merge & release on Hackage!

utdemir avatar Mar 02 '24 06:03 utdemir

I’ll do so if I get around, thank you ❤️

MangoIV avatar Mar 02 '24 08:03 MangoIV