libGL: Disable X support

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

View file

@ -185,6 +185,16 @@ in genAttrs [
x11Support = false; x11Support = false;
}; };
libGL = prev.libGL.overrideAttrs (prevAttrs: {
buildInputs = prevAttrs.buildInputs or [ ]
|> removePackages [ "libX.*" "xorgproto" ];
configureFlags = prevAttrs.configureFlags or [ ]
++ [ "--disable-x11" ];
postFixup = null;
});
libgnomekbd = prev.libgnomekbd.overrideAttrs (prevAttrs: { libgnomekbd = prev.libgnomekbd.overrideAttrs (prevAttrs: {
mesonFlags = prevAttrs.mesonFlags or [ ] mesonFlags = prevAttrs.mesonFlags or [ ]
++ [ (mesonBool "tests" false) ]; ++ [ (mesonBool "tests" false) ];