libshumate: Disable tests requiring display connection

This commit is contained in:
Mikael 2024-08-22 23:31:56 +02:00
parent 2a9bea8c35
commit e6838b18ed
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -85,6 +85,14 @@ in genAttrs [
++ [ (mesonBool "tests" false) ];
});
libshumate = prev.libshumate.overrideAttrs (prevAttrs: {
postPatch = prevAttrs.postPatch or "" + ''
sed -E -i \
"/^[[:space:]]*'(map|marker(-layer)?)':/d" \
tests/meson.build
'';
});
mesa = (prev.mesa.overrideAttrs (prevAttrs: {
mesonFlags = prevAttrs.mesonFlags or [ ] ++ [
(mesonEnable "xlib-lease" false)