From df138ca4c53bd78a23d3d74520dc21c787ac62f1 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 5 Sep 2024 20:53:23 +0200 Subject: [PATCH] gtk3: 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 02c154a..09cc733 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -15,7 +15,6 @@ in genAttrs [ "dbus" "ghostscript" "gobject-introspection" - "gtk3" "gtk4" "imlib2" "libcaca" @@ -133,6 +132,14 @@ in genAttrs [ }); }; + gtk3 = (prev.gtk3.overrideAttrs (prevAttrs: { + propagatedBuildInputs = prevAttrs.propagatedBuildInputs or [ ] + |> removePackages [ "libICE" "libSM" "libX.*" ]; + })).override { + x11Support = false; + xineramaSupport = false; + }; + imagemagick = prev.imagemagick.override { libX11Support = false; libXtSupport = false;