From 773108c5ea71c53b5d02260eeaff2aa114604ed0 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 5 Sep 2024 21:03:44 +0200 Subject: [PATCH] gtk4: Remove X inputs --- overlay/modern-minimal.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/overlay/modern-minimal.nix b/overlay/modern-minimal.nix index 09cc733..7b9c7bc 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -15,7 +15,6 @@ in genAttrs [ "dbus" "ghostscript" "gobject-introspection" - "gtk4" "imlib2" "libcaca" "pango" @@ -140,6 +139,14 @@ in genAttrs [ xineramaSupport = false; }; + gtk4 = (prev.gtk4.overrideAttrs (prevAttrs: { + buildInputs = prevAttrs.buildInputs or [ ] + |> removePackages [ "libICE" "libSM" "libX.*" ]; + })).override { + x11Support = false; + xineramaSupport = false; + }; + imagemagick = prev.imagemagick.override { libX11Support = false; libXtSupport = false;