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;