The syntax would be ("jdk-doc" ,openjdk "doc"), but if you mean the javadoc program, then it's the "jdk" output, which also contains the java compiler (icedtea and openjdk only contain java, not javac).
Le 27 février 2021 06:14:43 GMT-05:00, Vincent Legoll <vincent.leg...@gmail.com> a écrit : >Hello, > >you should try adding the "doc" output from the jdk > >see >https://guix.gnu.org/manual/en/guix.html#Packages-with-Multiple-Outputs > >something like the following: > > (native-inputs > `(("openjdk" ,openjdk14) > ("jdk-doc" ,openjdk:doc))) > >Tchuss > >-- >Vincent Legoll