anchor.diff:            globals().update(json.load(f))
       '';
   
  -    environment.systemPackages = [ cfg.package ] ++ (with pkgs; [ mailman-web ]);
  +    services.nginx = mkIf cfg.serve.enable {
  +      enable = mkDefault true;
  +      virtualHosts."${lib.head cfg.webHosts}" = {
  +        serverAliases = cfg.webHosts;
  +        locations = {
  +          "/".extraConfig = "uwsgi_pass unix:/run/mailman-web.socket;";
  +          "/static/".alias = settings.STATIC_ROOT + "/";
  +        };
  +      };
  +    };
  +
  +    environment.systemPackages = [ (pkgs.buildEnv {
  +      name = "mailman-tools";
  +      # We don't want to pollute the system PATH with a python
  +      # interpreter etc. so let's pick only the stuff we actually
  +      # want from pythonEnv
  +      pathsToLink = ["/bin"];
  +      paths = [pythonEnv];
  +      postBuild = ''
  +        find $out/bin/ -mindepth 1 -not -name "mailman*" -delete
  +      '';
  +    }) ];
   
       services.postfix = {
         recipientDelimiter = "+";         # bake recipient addresses in mail envelopes via VERP
  
positive.code:       (requirePostfixHash [ "config" "local_recipient_maps" ] "postfix_lmtp")
      ];
  
      users.users.mailman = { description = "GNU Mailman"; isSystemUser = true; };
  
      environment.etc."mailman.cfg".text = mailmanCfg;
  
  
negative.code: 
        webUser = mkOption {
          type = types.str;
          default = "mailman-web";
          description = ''
            User to run mailman-web as
          '';
  