Eric Bavier <bav...@member.fsf.org> skribis: > * guix/import/cpan.scm (%corelist): New variable. > (module->dist-name, core-module?): New procedures. > (cpan-module->sexp)[convert-inputs]: Use them. Include "test" dependencies > in converted inputs. > * doc/guix.texi (Invoking guix import)[cpan]: Mention corelist filtering.
[...] > +(define %corelist > + (let* ((perl (with-store store > + (derivation->output-path > + (package-derivation store perl)))) > + (core (string-append perl "/bin/corelist"))) > + (and (access? core X_OK) > + core))) What about adding: (warning (_ "the 'corelist' command is unavailable, not filtering modules~%")) ? Or perhaps it would be even better to take it from $PATH, otherwise the situation could be confusing: even if Perl is installed, the user could get an “unavailable” warning just because it’s not the exact same Perl. WDYT? Thanks, Ludo’.