So I’m on a system that only has an old broken version of ncurses 5 available, and I’d like to use nix to build the kakoune editor with ncurses 6. I can do this fairly easily with just
nix-shell -p ncurses or
nix-shell '<nixpkgs>' -A kakoune since there is a kakoune package in nixpkgs. I’m not really sure how the nixpkgs version works because I have to modify the Makefile to have
ncurses instead of
But when I do this, kakoune runs, but displays garbage, like
~U ~T~@ ~T~@ in the info box instead of the nice lines it normally does. The same thing happens when I run the version from nixpkgs
nix-shell -p kakoune --run kak.
Any ideas? I’ve been trying to figure this out for a while with absolutely no success.