Skip to content

Commit 9272007

Browse files
committed
Add perl to all shell 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.
1 parent 39cea88 commit 9272007

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

cross-js.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ pkgs.mkShell ({
100100
(pkgs.pkg-config or pkgconfig)
101101
(tool "happy")
102102
(tool "alex")
103+
perl
103104
stdenv.cc.cc.lib
104105
which
105106
]) ++ (with pkgs.buildPackages; [

cross-windows.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ pkgs.pkgsBuildBuild.mkShell ({
205205
(pkgsBuildBuild.pkg-config or pkgsBuildBuild.pkgconfig)
206206
(tool "happy")
207207
(tool "alex")
208+
pkgsBuildBuild.perl
208209
stdenv.cc.cc.lib
209210
pkgsBuildBuild.which
210211
])

dynamic.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ pkgs.mkShell {
120120
]
121121
++ (with pkgs; [
122122
openssl
123+
perl
123124
pcre
124125
pkg-config
125126
which

static.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ pkgs.mkShell (rec {
158158
(compiler.override { enableShared = true; })
159159
] ++ (with pkgs; [
160160
(pkgs.pkg-config or pkgconfig)
161+
perl
161162
stdenv.cc.cc.lib
162163
which
163164
]) ++ (with pkgs.buildPackages; [

0 commit comments

Comments
 (0)