anchor.diff:        if (!isDarwin)
         then {
           outputs = [ "out" "dev" ];
  -        buildInputs = [ makeWrapper args.libdrm ] ++ commonBuildInputs;
  +        buildInputs = commonBuildInputs ++ [ makeWrapper args.libdrm args.mesa_noglu ];
           propagatedBuildInputs = [ libpciaccess args.epoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [
             args.udev
           ];
  -        patches = commonPatches;
           prePatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
             export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t"
           '';
  
positive.code:         dri2proto dri3proto kbproto xineramaproto resourceproto scrnsaverproto videoproto
          libXfont2
        ];
        # fix_segfault: https://bugs.freedesktop.org/show_bug.cgi?id=91316
        commonPatches = [ ];
        # XQuartz requires two compilations: the first to get X / XQuartz,
        # and the second to get Xvfb, Xnest, etc.
        darwinOtherX = overrideDerivation xorgserver (oldAttrs: {
  
negative.code:         ] ++ lib.optionals stdenv.hostPlatform.isMusl [
            "--disable-tls"
          ];
  
          postInstall = ''
            rm -fr $out/share/X11/xkb/compiled # otherwise X will try to write in it
            ( # assert() keeps runtime reference xorgserver-dev in xf86-video-intel and others
  