> The simplest way to do it would be by walking the package DAG: start > from ‘foo’, accumulate its ‘package-source’, then traverse its inputs, > etc. Recursion would stop at the implicit inputs (GCC, glibc, > Coreutils, etc.), though. > If you’d like implicit inputs to be taken into account, then you’d have > to traverse derivations. It’s less convenient because it’s lower-level. Is there a function that accepts a package name and returns a list of implicit inputs?