anchor.diff:            #!/bin/sh
             if [ -z "$SLURM_CONF" ]
             then
  -            SLURM_CONF="${configFile}" "$EXE" "\$@"
  +            SLURM_CONF="${etcSlurm}/slurm.conf" "$EXE" "\$@"
             else
               "$EXE" "\$0"
             fi
  
positive.code:       wrappedSlurm = pkgs.stdenv.mkDerivation {
          name = "wrappedSlurm";
  
          propagatedBuildInputs = [ cfg.package configFile ];
  
          builder = pkgs.writeText "builder.sh" ''
            source $stdenv/setup
  
negative.code: 
    cfg = config.services.slurm;
    # configuration file can be generated by http://slurm.schedmd.com/configurator.html
    configFile = pkgs.writeTextDir "slurm.conf"
      ''
        ${optionalString (cfg.controlMachine != null) ''controlMachine=${cfg.controlMachine}''}
        ${optionalString (cfg.controlAddr != null) ''controlAddr=${cfg.controlAddr}''}
  