mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
gnome3.mutter: fix crash on startup with nvidia drivers
This commit is contained in:
parent
3f719b0fad
commit
e2e23ddd89
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo
|
||||
, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
|
||||
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
|
||||
, pipewire, libgudev, libwacom, xwayland, autoreconfHook }:
|
||||
, pipewire, libgudev, libwacom, xwayland, autoreconfHook, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mutter-${version}";
|
||||
|
@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
|
|||
updateScript = gnome3.updateScript { packageName = "mutter"; attrPath = "gnome3.mutter"; };
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://gitlab.gnome.org/GNOME/mutter/merge_requests/172
|
||||
(fetchpatch {
|
||||
url = https://gitlab.gnome.org/GNOME/mutter/commit/62660bbd.patch;
|
||||
sha256 = "1qq8vxlqnyrqh94dc0dh1aj1dsbyw6bwv3x46q5vsscbbxbiv9wk";
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-x"
|
||||
"--disable-static"
|
||||
|
|
Loading…
Reference in a new issue