anchor.diff:          "-Uinstallusrbinperl"
           "-Dinstallstyle=lib/perl5"
           "-Duseshrplib"
  -        "-Dlocincpth=${libc}/include"
  -        "-Dloclibpth=${libc}/lib"
  +        "-Dlocincpth=${libcInc}/include"
  +        "-Dloclibpth=${libcLib}/lib"
         ]
         ++ optional stdenv.isSunOS "-Dcc=gcc"
         ++ optional enableThreading "-Dusethreads";
  
positive.code:         substituteInPlace dist/PathTools/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'"
        '';
  
      # Inspired by nuke-references, which I can't depend on because it uses perl. Perhaps it should just use sed :)
      postInstall = ''
        self=$(echo $out | sed -n "s|^$NIX_STORE/\\([a-z0-9]\{32\}\\)-.*|\1|p")
  
        sed -i "/$self/b; s|$NIX_STORE/[a-z0-9]\{32\}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" "$out"/lib/perl5/*/*/Config.pm
        sed -i "/$self/b; s|$NIX_STORE/[a-z0-9]\{32\}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" "$out"/lib/perl5/*/*/Config_heavy.pl
      '';
  
      setupHook = ./setup-hook.sh;
  
      passthru.libPrefix = "lib/perl5/site_perl";
  
      meta = {
        homepage = https://www.perl.org/;
  
negative.code:       inherit sha256;
      };
  
      # TODO: Add a "dev" output containing the header files.
      outputs = [ "out" "man" "docdev" ];
      setOutputFlags = false;
  
      patches =
        [ # Do not look in /usr etc. for dependencies.
  