Skip to content

perl: set PERL5LIB in run environment#5571

Open
Thezone-1 wants to merge 2 commits into
spack:developfrom
Thezone-1:perl-perl5lib-run-env
Open

perl: set PERL5LIB in run environment#5571
Thezone-1 wants to merge 2 commits into
spack:developfrom
Thezone-1:perl-perl5lib-run-env

Conversation

@Thezone-1

Copy link
Copy Markdown

Perl's compiled-in @inc only covers its own install prefix, so modules merged into an environment view were not found on activation. Prepend lib/perl5 to PERL5LIB so it gets projected onto the view.

Fixes spack/spack#35456

Perl's compiled-in @inc only covers its own install prefix, so modules
merged into an environment view were not found on activation. Prepend
lib/perl5 to PERL5LIB so it gets projected onto the view.

Fixes spack/spack#35456
@spackbot-triage spackbot-triage Bot added the update-package Modifications to packages in the repository label Jul 13, 2026
@spackbot-triage spackbot-triage Bot requested a review from LydDeb July 13, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update-package Modifications to packages in the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PERL5LIB missing when activating environment with Perl packages

1 participant