From c00cab5fdeb223613a72191f18d698a330f38411 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 5 Sep 2024 21:16:06 +0200 Subject: [PATCH] libxkbcommon: Disable X support --- overlay/modern-minimal.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/overlay/modern-minimal.nix b/overlay/modern-minimal.nix index 72e8cab..c2d44c0 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -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: { outputs = remove "spirv2dxil" prevAttrs.outputs;