GL/gl.h was removed from mesa package, needs to be directly imported from libGL now
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname