summary refs log tree commit diff
path: root/pkgs/desktops/gnome/core
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2023-10-06 15:36:05 +0200
committerGitHub <noreply@github.com>2023-10-06 21:36:05 +0800
commite1ee359d16a1886f0771cc433a00827da98d861c (patch)
treeb5eb7e5dbf32f006083e65d79ec6c6e05d0fe42f /pkgs/desktops/gnome/core
parent1ce3c44f0a715675042833a9815fb7a9d47a0e3e (diff)
downloadnixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.tar
nixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.tar.gz
nixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.tar.bz2
nixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.tar.lz
nixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.tar.xz
nixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.tar.zst
nixpkgs-e1ee359d16a1886f0771cc433a00827da98d861c.zip
gnome.gnome-session: fix session crash in gnome-boxes
Fixes https://github.com/NixOS/nixpkgs/issues/226355
Diffstat (limited to 'pkgs/desktops/gnome/core')
-rw-r--r--pkgs/desktops/gnome/core/gnome-session/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/core/gnome-session/default.nix b/pkgs/desktops/gnome/core/gnome-session/default.nix
index dcafff9e0ec..3b33d289ddb 100644
--- a/pkgs/desktops/gnome/core/gnome-session/default.nix
+++ b/pkgs/desktops/gnome/core/gnome-session/default.nix
@@ -1,4 +1,5 @@
 { fetchurl
+, fetchpatch
 , lib
 , stdenv
 , substituteAll
@@ -47,6 +48,12 @@ stdenv.mkDerivation rec {
       dbusLaunch = "${dbus.lib}/bin/dbus-launch";
       bash = "${bash}/bin/bash";
     })
+    # See #226355. Can be removed on update to v45.
+    (fetchpatch {
+      name = "fix-gnome-boxes-crash.patch";
+      url = "https://gitlab.gnome.org/GNOME/gnome-session/commit/fab1a3b91677035d541de2c141f8073c4057342c.patch";
+      hash = "sha256-2xeoNgV8UDexkufXDqimAplX0GC99tUWUqjw3kfN+5Q=";
+    })
   ];
 
   nativeBuildInputs = [