What if we could find all vendored versions of a dependency by grepping through the whole #NixOS cache? Well, now we can!
https://github.com/delroth/grep-nixos-cache hacked together last night + a few fixes and it's now running and finding (almost) all vendored libwebp versions in all NixOS packages \o/
Live output of the first run for those of you watching at home: https://seashells.io/v/pRRWxBhJ
@delroth what string are you searching for?
@robryk a string I expect to be uniquely found to libwebp ("no memory during frame initialization.")
There are of course many ways this could have false positives/negatives, but I expect the rates to be very low on the false positives side, and low on the false negatives side.
@delroth I wonder about false negatives caused by compression. (Doesn't python modules distributed as egg files compress native libraries?)