diff --git a/pkgs/development/perl-modules/generic/default.nix b/pkgs/development/perl-modules/generic/default.nix index 8d4195fad0bf..566129a5f00c 100644 --- a/pkgs/development/perl-modules/generic/default.nix +++ b/pkgs/development/perl-modules/generic/default.nix @@ -35,6 +35,8 @@ env ? { }, + postPatch ? "patchShebangs .", + ... }@attrs: @@ -66,6 +68,7 @@ lib.throwIf (attrs ? name) doCheck checkTarget enableParallelBuilding + postPatch ; env = { inherit PERL_AUTOINSTALL AUTOMATED_TESTING PERL_USE_UNSAFE_INC;