anchor.diff: -{config, pkgs, ...}:
  +{ config, pkgs, ... }:
   
   with pkgs.lib;
   
  
positive.code: 
            env PATH=${makeSearchPath "bin" (job.path ++ upstartPath)}:${makeSearchPath "sbin" (job.path ++ upstartPath)}
  
            ${concatMapStrings (n: "env ${n}=\"${getAttr n job.environment}\"\n") (attrNames job.environment)}
            
            ${optionalString (job.preStart != "") ''
              pre-start script
  
negative.code:       '';
      };
      
      system.upstartEnvironment = mkOption {
        type = types.attrs;
        default = {};
        example = { TZ = "CET"; };
        description = ''
          Environment variables passed to <emphasis>all</emphasis> Upstart jobs.
        '';
      };
  
    };
  
  
  