From 10d97e8b0107cdc0f1318b89ca3eed282491cf8f Mon Sep 17 00:00:00 2001 From: "Enjeck C." Date: Fri, 31 Jul 2026 06:26:30 +0100 Subject: [PATCH] doc: fix Perl hook PERL5LIB path The setup hook adds lib/perl5/site_perl, not lib/site_perl (pkgs/development/interpreters/perl/setup-hook.sh). --- doc/hooks/perl.section.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/hooks/perl.section.md b/doc/hooks/perl.section.md index 06942bd3c0e1..362a237d9b19 100644 --- a/doc/hooks/perl.section.md +++ b/doc/hooks/perl.section.md @@ -1,3 +1,4 @@ # 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. +Adds the `lib/perl5/site_perl` subdirectory of each build input to the `PERL5LIB` environment variable. +The hook applies when `perl` is in `buildInputs`.