Home Explore Blog CI



nixpkgs

doc/hooks/perl.section.md
9ba5cd9b4b5896662e1b5f903844d430f9cf3cb3fd6a2bcc0000000300000110
# 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.

Chunks
7589093a (1st chunk of `doc/hooks/perl.section.md`)
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.