inputs.self.submodules
In reply to @dramforever:matrix.orghowever it's not, if you generate a tarball from git+file submodules become nothing, if you grab a tarball from github submodules become empty directories