Without the change build fails on `master` as:
[ 14%] Building CXX object libgrive/CMakeFiles/grive.dir/src/base/Syncer.cc.o
In file included from /build/source/libgrive/src/base/Syncer.cc:20:
/build/source/libgrive/src/base/Syncer.hh:58:22: error: 'unique_ptr' in namespace 'std' does not name a template type
58 | virtual std::unique_ptr<Feed> GetFolders() = 0;
| ^~~~~~~~~~
Full build log: https://hydra.nixos.org/log/48jk4w7l1frlf6x8xjli2vyqqxk24ib1-grive2-0.5.3.drv
One should depend on
- `stdenv.cc.bintools`: for executables at build time
- `libbfd` or `libiberty`: for those libraries
- `targetPackages.cc.bintools`: for exectuables at *run* time
- `binutils`: only for specifically GNU Binutils's executables, regardless of
the host platform, at run time.