When building the devtools R module, which depends on git2r, it reports that libssh2 cannot be found, and falls back to building without SSH support. Adding libssh2.dev to git2r's native build inputs fixes this.
stdenv.system
system
makeStandaloneToolchain