Home Explore Blog CI



nixpkgs

1st chunk of `doc/hooks/perl.section.md`
7589093ae6915406b3a45513e13d2e6f17e34cabc36512f40000000100000110
# Perl {#setup-hook-perl}

Adds the `lib/site_perl` subdirectory of each build input to the `PERL5LIB` environment variable. For instance, if `buildInputs` contains Perl, then the `lib/site_perl` subdirectory of each input is added to the `PERL5LIB` environment variable.

Title: Perl Setup Hook
Summary
This setup hook automatically adds the `lib/site_perl` subdirectory from each build input to the `PERL5LIB` environment variable, making Perl modules available during the build process. If `buildInputs` contains Perl, its `lib/site_perl` is added.