Ludovic Courtès writes: > Marius Bakke skribis: > >> After patching 'notmuch', `guix lint -c patch-file-names` does not pass >> for 'python-notmuch' which inherits the source from 'notmuch'. > > I agree but that’s not quite possible: the “inheritance” relation (which > is really just a copy of a record) is not known at run time. > > So we’d need another trick to guess whether a patch is coming from > elsewhere and should consequently be ignored by ‘lint’. Here is a "RFC" patch that thwarts the warning if the source file name is different from the package name. Not sure how to properly make it part of the procedure, so that the checks are actually skipped as well.