Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #48047 from thefloweringash/fix-mutter-crash

gnome3.mutter: fix crash on startup with nvidia drivers

authored by

Jan Tojnar and committed by
GitHub
033dce35 2adb521d

+9 -1
+9 -1
pkgs/desktops/gnome-3/core/mutter/default.nix
··· 1 1 { fetchurl, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo 2 2 , pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3 3 3 , libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput 4 - , pipewire, libgudev, libwacom, xwayland, autoreconfHook }: 4 + , pipewire, libgudev, libwacom, xwayland, autoreconfHook, fetchpatch }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "mutter-${version}"; ··· 15 15 passthru = { 16 16 updateScript = gnome3.updateScript { packageName = "mutter"; attrPath = "gnome3.mutter"; }; 17 17 }; 18 + 19 + patches = [ 20 + # https://gitlab.gnome.org/GNOME/mutter/merge_requests/172 21 + (fetchpatch { 22 + url = https://gitlab.gnome.org/GNOME/mutter/commit/62660bbd.patch; 23 + sha256 = "1qq8vxlqnyrqh94dc0dh1aj1dsbyw6bwv3x46q5vsscbbxbiv9wk"; 24 + }) 25 + ]; 18 26 19 27 configureFlags = [ 20 28 "--with-x"