anchor.diff:  
     patches = ./no-usr.patch;
   
  -  buildFlags = "libiniparser.so";
  +  # TODO: Build dylib on Darwin
  +  buildFlags = (if stdenv.isDarwin then [ "libiniparser.a" ] else [ "libiniparser.so" ])
  +    ++ optional isClang "CC=clang";
   
     installPhase = ''
       mkdir -p $out/lib
  -    cp libiniparser.so.0 $out/lib
  -    ln -s libiniparser.so.0 $out/lib/libiniparser.so
   
       mkdir -p $out/include
       cp src/*.h $out/include
  
positive.code: { stdenv, fetchurl }:
  
  stdenv.mkDerivation rec{
    name = "iniparser-3.1";
  
  
negative.code:       bzip2 -c -9 $i > $out/share/doc/${name}/$i.bz2;
      done;
      cp -r html $out/share/doc/${name}
  
    '' + (if stdenv.isDarwin then ''
      cp libiniparser.a $out/lib
    '' else ''
      cp libiniparser.so.0 $out/lib
      ln -s libiniparser.so.0 $out/lib/libiniparser.so
    '');
  
    meta = {
      homepage = http://ndevilla.free.fr/iniparser;
  