Hi Guixers, Do we have a programmatic and convenient way to detect if a package inherited from another package?
For example, how can I programmatically check that package B inherited from package A? > ,use (gnu packages games) > ,use (guix packages) > (define p (package (inherit cowsay))) > p $1 = #<package [email protected]> > (package-properties p) $3 = () My use case for wanting this is that I am now trying to create a tex-team manifest* and some things might be more elegantly written if I could say something like ignore all packages that inherit from texlive-bin, for example. WDYT? Let me know if I am overlooking a more elegant solution 🦆😅 all best, jgart * https://codeberg.org/guix/guix/pulls/6675
