libxkbcommon: Disable X support

This commit is contained in:
Mikael 2024-09-05 21:16:06 +02:00
parent e2b64c8a4e
commit c00cab5fde
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -209,6 +209,19 @@ in genAttrs [
}); });
}); });
libxkbcommon = prev.libxkbcommon.overrideAttrs (prevAttrs: {
buildInputs = prevAttrs.buildInputs or [ ]
|> removePackages [ "libxcb" ];
mesonFlags = prevAttrs.mesonFlags or [ ]
++ [ (mesonBool "enable-x11" false ) ];
meta = prevAttrs.meta or { } // {
pkgConfigModules = prevAttrs.meta.pkgConfigModules or [ ]
|> remove "xkbcommon-x11";
};
});
mesa = (prev.mesa.overrideAttrs (prevAttrs: { mesa = (prev.mesa.overrideAttrs (prevAttrs: {
outputs = remove "spirv2dxil" prevAttrs.outputs; outputs = remove "spirv2dxil" prevAttrs.outputs;