anchor.diff:    configureFlags = [
       "--sysconfdir=/etc"
       "--localstatedir=/var"
  -    "--with-clang-libdir=${clang}/lib"
  +    #"--with-clang-libdir=${clang}/lib"
       "--with-dri-driverdir=$(drivers)/lib/dri"
       "--with-dri-searchpath=${driverLink}/lib/dri"
   
  
positive.code: { stdenv, fetchurl, fetchpatch, pkgconfig, intltool, flex, bison, autoreconfHook, substituteAll
  , python, libxml2Python, file, expat, makedepend, pythonPackages
  , libdrm, xorg, wayland, udev, llvmPackages, libffi, libomxil-bellagio
  , libvdpau, libelf, libva, libclc
  , grsecEnabled
  , enableTextureFloats ? false # Texture floats are patented, see docs/patents.txt
  
negative.code:   # ToDo: probably not all .la files are completely fixed, but it shouldn't matter
    postInstall = with stdenv.lib; ''
      mv -t "$drivers/lib/" \
        $out/lib/libXvMC* \
        $out/lib/libdricore* \
        $out/lib/libgallium* \
        $out/lib/vdpau \
        $out/lib/{bellagio,d3d} \
        $out/lib/libxatracker*
  
      mv -t "$drivers/lib/dri/" \
        "$out"/lib/dri/*
      rmdir "$out/lib/dri"
  
      mkdir -p {$osmesa,$drivers}/lib/pkgconfig
      mv -t $osmesa/lib/ \
  