anchor.diff: -{stdenv, fetchurl, enableStatic ? false, extraConfig ? ""}:
  +{ stdenv, fetchurl, enableStatic ? false, enableMinimal ? false, extraConfig ? "" }:
   
   let
     configParser = ''
  
positive.code:             NAME=`echo "$LINE" | cut -d \  -f 1`
              OPTION=`echo "$LINE" | cut -d \  -f 2`
  
              if test -z "$NAME"; then
                  continue
              fi
  
              if test "$NAME" == "CLEAR"; then
                  echo "parseconfig: CLEAR"
                  echo > .config
              fi
  
              echo "parseconfig: removing $NAME"
              sed -i /$NAME'\(=\| \)'/d .config
  
negative.code: 
    configurePhase = ''
      export KCONFIG_NOTIMESTAMP=1
      make ${if enableMinimal then "allnoconfig" else "defconfig"}
  
      ${configParser}
  
      cat << EOF | parseconfig
  
      CONFIG_PREFIX "$out"
      CONFIG_INSTALL_NO_USR y
  
      ${stdenv.lib.optionalString enableStatic ''
        CONFIG_STATIC y
      ''}
  
      # Use the external mount.cifs program.
      CONFIG_FEATURE_MOUNT_CIFS n
      CONFIG_FEATURE_MOUNT_HELPERS y
  
      ${extraConfig}
      $extraCrossConfig
      EOF
  
      make oldconfig
    '';
  
  