anchor.diff:    };
   
     outputs = [ "out" "doc" ];
  -
  -  LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
  -
  -  configureFlags = stdenv.lib.optionals stdenv.isCygwin
  -      [ "--disable-java"
  -        "--disable-native-java"
  -        # Share the cache among the various `configure' runs.
  -        "--config-cache"
  -        "--with-included-gettext"
  -        "--with-included-glib"
  -        "--with-included-libcroco"
  -      ]
  -     # avoid retaining reference to CF during stdenv bootstrap
  -    ++ (stdenv.lib.optionals stdenv.isDarwin [
  -      "gt_cv_func_CFPreferencesCopyAppValue=no"
  -      "gt_cv_func_CFLocaleCopyCurrent=no"
  -    ]);
   
     patchPhase = ''
      substituteInPlace gettext-tools/projects/KDE/trigger --replace "/bin/pwd" pwd
  
positive.code:       echo gl_cv_func_wcwidth_works=yes > cachefile
        configureFlags="$configureFlags --cache-file=`pwd`/cachefile"
      fi
    '' + stdenv.lib.optionalString stdenv.isCygwin ''
      sed -i -e "s/\(am_libgettextlib_la_OBJECTS = \)error.lo/\\1/" gettext-tools/gnulib-lib/Makefile.in
    '';
  
    buildInputs = [ xz ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
  
negative.code: { stdenv, fetchurl, libiconv, xz }:
  
  stdenv.mkDerivation rec {
    name = "gettext-0.19.7";
  
    src = fetchurl {
  