diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 44d50aefefcb..b77a46513a57 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -12064,10 +12064,13 @@ let self = _self // overrides; _self = with self; { }; PathTools = buildPerlPackage { - name = "PathTools-3.47"; + name = "PathTools-3.74"; + preConfigure = '' + substituteInPlace Cwd.pm --replace '/usr/bin/pwd' '${pkgs.coreutils}/bin/pwd' + ''; src = fetchurl { - url = mirror://cpan/authors/id/S/SM/SMUELLER/PathTools-3.47.tar.gz; - sha256 = "caa8d4b45372b8cb0ef0f6f696efa3a60b0fd394b115cad39a7fbb8f6bd38026"; + url = mirror://cpan/authors/id/X/XS/XSAWYERX/PathTools-3.74.tar.gz; + sha256 = "25724cc54c59a3bfabadec95e72db292c98676bf3632497384e8dc6277936e11"; }; };