From 22dccf9602c1c028c1d7b3fa1c99782ba98ff2e1 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Fri, 27 Sep 2019 18:10:03 -0400 Subject: [PATCH] gnome3.gdm: fix rebuild switch See: https://gitlab.gnome.org/GNOME/gdm/issues/515 --- pkgs/desktops/gnome-3/core/gdm/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/core/gdm/default.nix b/pkgs/desktops/gnome-3/core/gdm/default.nix index 37199737fc4..1e37c45a1ad 100644 --- a/pkgs/desktops/gnome-3/core/gdm/default.nix +++ b/pkgs/desktops/gnome-3/core/gdm/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg , accountsservice, libX11, gnome3, systemd, autoreconfHook , gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth -, librsvg, coreutils, xwayland, nixos-icons }: +, librsvg, coreutils, xwayland, nixos-icons, fetchpatch }: let @@ -51,6 +51,12 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; patches = [ + # See: https://gitlab.gnome.org/GNOME/gdm/issues/515 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/gdm/commit/0e05e2fd3c2a3b28ed4db0e51e4646aa6af67a5f.patch"; + sha256 = "10kbjn0kis0xf95dfzq4w6xazyfbcz8yj9lrixg5jb3srrnp0hhf"; + }) + # Change hardcoded paths to nix store paths. (substituteAll { src = ./fix-paths.patch;