Ludovic Courtès <l...@gnu.org> writes:
> Ricardo Wurmus <rek...@elephly.net> skribis: > >> raingloom <raingl...@riseup.net> writes: >> >>> One use case that I hope can be addressed is TeXlive packages. Trying >>> to figure out which package corresponded to which missing file was a >>> nightmare the last I had to use LaTeX. >> >> The texlive package database is the authoritative source of information. >> The file texlive.tlpdb is included in the texlive-bin package, and we’re >> using it in the importer. I also added (@ (guix import texlive) >> files-differ?), which compares a texlive package’s output directory with >> the files that the texlive.tlpdb lists for that package. >> >> You can also use it to check what package should provide a certain file. >> I do this all the time to figure out if our existing packages are >> incomplete or if we’re just missing a package. > > Oh, I had never tried that. Is there a command that browses > texlive.tlpdb, or do you just open it or grep it? I just have it open in Emacs and search inside. But we could easily add a procedure to (guix import texlive) to check the texlive.tlpdb. All the hard work has already been done; we’re using the same mechanism for the importer and “files-differ?”. -- Ricardo