anchor.diff:                inherit plugins;
               } // removeAttrs c [ "type" "pythonPackages" ]
                 // optionalAttrs (python != null) {
  -                pythonpath = "${penv}/${python.sitePackages}";
  +                pythonpath = "${pythonEnv}/${python.sitePackages}";
                   env =
                     # Argh, uwsgi expects list of key-values there instead of a dictionary.
                     let env' = c.env or [];
  
positive.code:         inherit python;
        };
  
        penv = python.buildEnv.override {
          extraLibs = (c.pythonPackages or (self: [])) pythonPackages;
        };
  
        uwsgiCfg = {
          uwsgi =
  
negative.code:                            then substring (stringLength "PATH=") (stringLength x) x
                             else null;
                        oldPaths = filter (x: x != null) (map getPath env');
                    in env' ++ [ "PATH=${optionalString (oldPaths != []) "${last oldPaths}:"}${pythonEnv}/bin" ];
                }
            else if c.type == "emperor"
              then {
  