anchor.diff:      "--${boolEn (buildConfig != "opengl-dummy")}-xvmc"
       "--${boolEn (buildConfig != "opengl-dummy")}-vdpau"
       "--${boolEn (buildConfig != "opengl-dummy")}-omx-bellagio"
  +    #"--${boolEn (buildConfig != "opengl-dummy")}-omx-tizonia"
       "--${boolEn (buildConfig != "opengl-dummy")}-va"
       # TODO: Figure out how to enable opencl without having a
       #       runtime dependency on clang
  
positive.code:       -i src/gallium/drivers/freedreno/Makefile.am
    '' + /* Files are unnecessarily pre-generated for an older LLVM version */ ''
      # https://github.com/mesa3d/mesa/commit/5233eaf9ee85bb551ea38c1e2bbd8ac167754e50
      rm src/gallium/drivers/swr/rasterizer/jitter/gen_builder{,_x86}.hpp
    '' + /* Install glvnd files in the current prefix */ ''
      sed -i src/egl/Makefile.am \
        -e 's/LIBGLVND_DATADIR/DATADIR/'
  
negative.code:     optionalString
      splitString;
  
    version = "18.1.1";
  
    # This is the default search path for DRI drivers
    driverSearchPath = "/run/opengl-driver-${stdenv.targetSystem}";
  