gnome.gnome-session: fix session crash in gnome-boxes

Fixes https://github.com/NixOS/nixpkgs/issues/226355
This commit is contained in:
Julian Stecklina 2023-10-06 15:36:05 +02:00 committed by GitHub
parent 1ce3c44f0a
commit e1ee359d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ fetchurl { fetchurl
, fetchpatch
, lib , lib
, stdenv , stdenv
, substituteAll , substituteAll
@ -47,6 +48,12 @@ stdenv.mkDerivation rec {
dbusLaunch = "${dbus.lib}/bin/dbus-launch"; dbusLaunch = "${dbus.lib}/bin/dbus-launch";
bash = "${bash}/bin/bash"; 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 = [ nativeBuildInputs = [