diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index c2e1c181e5ca..11d9e6e8c36b 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -2723,6 +2723,10 @@ let self = _self // overrides; _self = with self; { url = "mirror://cpan/authors/id/S/SB/SBECK/${name}.tar.gz"; sha256 = "0afvr2q2hspd807d6wd7kmrr7ypxdlh8bcnqsqbfwcwd74qadg13"; }; + # for some reason, parsing /etc/localtime does not work anymore - make sure that the fallback "/bin/date +%Z" will work + patchPhase = '' + sed -i "s#/bin/date#${pkgs.coreutils}/bin/date#" lib/Date/Manip/TZ.pm + ''; propagatedBuildInputs = [ TestInter ]; meta = { description = "Date manipulation routines";