set -e nix build .#kak-tree -o /tmp/kak-tree -L kak -n -E 'source /tmp/kak-tree/share/kak/autoload/plugins/kak-tree/tree.kak ; source kakrc.sample' src/main.rs -e 'set buffer filetype rust'