anchor.diff:              }" /no-such-path \
             --replace "${stdenv.cc}" /no-such-path \
             --replace "$man" /no-such-path
  -      '' + stdenv.lib.optionalString crossCompiling
  +      '' + optionalString crossCompiling
         ''
           mkdir -p $dev/lib/perl5/cross_perl/${version}
           for dir in cnf/{stub,cpan}; do
  
positive.code: 
      # TODO: Add a "dev" output containing the header files.
      outputs = [ "out" "man" "devdoc" ] ++
        stdenv.lib.optional crossCompiling "dev";
      setOutputFlags = false;
  
      disallowedReferences = [ stdenv.cc ];
  
negative.code:       ++ optionals stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ]
        ++ optional crossCompiling ./MakeMaker-cross.patch;
  
      # This is not done for native builds because pwd may need to come from
      # bootstrap tools when building bootstrap perl.
      postPatch = (if crossCompiling then ''
        substituteInPlace dist/PathTools/Cwd.pm \
          --replace "/bin/pwd" '${coreutils}/bin/pwd'
        substituteInPlace cnf/configure_tool.sh --replace "cc -E -P" "cc -E"
      '' else ''
        substituteInPlace dist/PathTools/Cwd.pm \
          --replace "/bin/pwd" "$(type -P pwd)"
      '') +
      # Perl's build system uses the src variable, and its value may end up in
      # the output in some cases (when cross-compiling)
      ''
        unset src
      '';
  
      # Build a thread-safe Perl with a dynamic libperls.o.  We need the
  