Merge pull request #197606 from wegank/xorg-server-darwin

xorg.xorg-server: mark as broken on darwin
This commit is contained in:
Christian Kögler 2022-10-31 22:09:20 +01:00 committed by GitHub
commit b7402398c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -738,6 +738,7 @@ self: super:
buildInputs = [ xorgproto libdrm openssl libX11 libXau libXaw libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt ];
postPatch = lib.optionalString stdenv.isLinux "sed '1i#include <malloc.h>' -i include/os.h";
meta.platforms = lib.platforms.unix;
meta.broken = stdenv.isDarwin;
} else throw "unsupported xorg abiCompat ${abiCompat} for ${attrs_passed.name}";
in attrs //