Closed SuperSandro2000 closed 3 years ago
Yeah, it works on mkDerivation
level. I guess we should override all buildFooPackage
functions the same way and only apply the checks to the topmost function.
As a first step, I started printing relevant code location in c25766c9d241469f8e827303a8e10ed500721d2d.
So far it works great and yields a lot less of false positives.
I run nixpkgs-hammering on https://github.com/NixOS/nixpkgs/pull/105669/files#diff-ab1e40bce9916c4544e104a80eb597d731be5c0cade896697f8b925d6960eaecR15 and got the following warnings:
but the package looks like
Does it maybe look into buildBazelPackage and name is there before source?