anchor.diff:      sh autogen.sh
     '';
   
  -  configureFlags = [ "--x-includes=${libX11.dev}/include" "--x-libraries=${libX11.out}/lib" "--enable-examples=no" ];
  +  configureFlags = [
  +    (lib.strings.enableFeature stdenv.isLinux "platform")
  +    "--enable-examples=no"
  +  ] ++ lib.optionals stdenv.isLinux [
  +    "--x-includes=${lib.getDev libX11}/include"
  +    "--x-libraries=${lib.getLib libX11}/lib"
  +  ];
   
     # libtool --tag=CXX --mode=link g++ -g -O2 libexamples.la ../src/platform/X11/libaggplatformX11.la ../src/libagg.la -o alpha_mask2 alpha_mask2.o
     # libtool: error: cannot find the library 'libexamples.la'
  
positive.code: 
      license = lib.licenses.gpl2Plus;
      homepage = "http://www.antigrain.com/";
      platforms = lib.platforms.linux;
    };
  }
  
negative.code:     sha256 = "07wii4i824vy9qsvjsgqxppgqmfdxq0xa87i5yk53fijriadq7mb";
    };
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [
      autoconf
      automake
      libtool
      freetype
      SDL
    ] ++ lib.optionals stdenv.isLinux [
      libX11
    ];
  
    postPatch = ''
      substituteInPlace include/agg_renderer_outline_aa.h \
  