And set missing meta.platforms for the packages I've added earlier.
Copy the bash completion script that comes with tig to $out/etc/bash_completion.d/. Note: to enable bash completion in NixOS, set environment.enableBashCompletion = true;