anchor.diff:                      inputs = [ ruby ];
                     })
                     (lib.nameValuePair "cgi" {
  +                    # usage: https://uwsgi-docs.readthedocs.io/en/latest/CGI.html?highlight=cgi
                       path = "plugins/cgi";
                       inputs = [ ];
  +                  })
  +                  (lib.nameValuePair "php" {
  +                    # usage: https://uwsgi-docs.readthedocs.io/en/latest/PHP.html#running-php-apps-with-nginx
  +                    path = "plugins/php";
  +                    preBuild = "touch unix.h";
  +                    inputs = [ php-embed php-embed.nativeBuildInputs ];
                     })
                   ];
   
  
positive.code: , pam, withPAM ? false
  , systemd, withSystemd ? false
  , python2, python3, ncurses
  , ruby
  }:
  
  let pythonPlugin = pkg : lib.nameValuePair "python${if pkg ? isPy2 then "2" else "3"}" {
  
negative.code:   buildPhase = ''
      mkdir -p $pluginDir
      python3 uwsgiconfig.py --build nixos
      ${lib.concatMapStringsSep ";" (x: "${x.preBuild or ""}\n ${x.interpreter or "python3"} uwsgiconfig.py --plugin ${x.path} nixos ${x.name}") needed}
    '';
  
    installPhase = ''
  