We strip the library suffix as we don't need it and it confuses various
downstream consumers.
Also replace calls to sed with substituteInPlace as the latter will complain in
case it doesn't perform a substitution.
On Darwin dylibs are intended to have their install names set to their
absolute path. Without an absolute path, applications using these
libraries will have invalid references embedded, and will be unable to
locate the libraries at runtime.
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.10.3 with grep in /nix/store/2q8rpns7liydfjw0sfxmr4dqb6ydn7fh-qscintilla-qt5-2.10.3
- directory tree listing: https://gist.github.com/a8a71ce267574bdfa3cfb49ecd9d784e