diff --git a/overlay/modern-minimal.nix b/overlay/modern-minimal.nix index 7b9c7bc..72e8cab 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -185,6 +185,16 @@ in genAttrs [ 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: { mesonFlags = prevAttrs.mesonFlags or [ ] ++ [ (mesonBool "tests" false) ];