I think this change is not needed: callPackage automatically inherits from xlibs things not found in top scope. Is there some special reason for this line?