The command nf-core licences currently only works for DSL1 pipelines as it uses the environment.yml file to fetch the licences of all bioconda tools. This file is missing from DSL2 pipelines.
Alternatively, for DSL2 pipelines, we should use the Bioconda API (or something similar) to fetch the licence information.
Related to #1151 .