diff --git a/pkgs/development/interpreters/perl/default.nix b/pkgs/development/interpreters/perl/default.nix index 40a70623dcb7..b6e8e9abce73 100644 --- a/pkgs/development/interpreters/perl/default.nix +++ b/pkgs/development/interpreters/perl/default.nix @@ -97,12 +97,6 @@ let sed -i 's,\(libswanted.*\)pthread,\1,g' Configure ''; - preBuild = optionalString (!(stdenv ? cc && stdenv.cc.nativeTools)) - '' - # Make Cwd work on NixOS (where we don't have a /bin/pwd). - substituteInPlace dist/PathTools/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'" - ''; - setupHook = ./setup-hook.sh; passthru.libPrefix = "lib/perl5/site_perl";