Skip to content

Add perl to all shell environments#235

Merged
angerman merged 1 commit into
mainfrom
fix/cacert-for-curl
Feb 26, 2026
Merged

Add perl to all shell environments#235
angerman merged 1 commit into
mainfrom
fix/cacert-for-curl

Conversation

@angerman
Copy link
Copy Markdown
Collaborator

Summary

GHC's test suite requires perl (the testsuite driver and various test scripts). Like which (#234), perl is not part of stdenv's initialPath and was only reachable via the host system before the hermetic PATH change (a354771). CI fails with:

/bin/sh: 1: perl: not found

Add pkgs.perl to all four shell definitions (dynamic, static, cross-js, cross-windows).

Test plan

  • nix develop .#ghc98-minimal-ghc -c which perl/nix/store/...-perl-5.40.0/bin/perl
  • CI: GHC test suite can invoke perl in container environments

GHC's test suite requires `perl` (e.g. the testsuite driver and various
test scripts). Like `which`, `perl` is not part of stdenv's initialPath
and was only reachable via the host system before the hermetic PATH
change. Add it explicitly to all four shell definitions.
@angerman angerman force-pushed the fix/cacert-for-curl branch from d14f853 to 9272007 Compare February 26, 2026 07:54
@angerman angerman added this pull request to the merge queue Feb 26, 2026
Merged via the queue into main with commit 21e72ef Feb 26, 2026
0 of 5 checks passed
@angerman angerman deleted the fix/cacert-for-curl branch February 26, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant