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;