gnome3.gdm: fix rebuild switch

See: https://gitlab.gnome.org/GNOME/gdm/issues/515
This commit is contained in:
worldofpeace 2019-09-27 18:10:03 -04:00 committed by Jan Tojnar
parent a62a8aaa14
commit 22dccf9602
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg { stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg
, accountsservice, libX11, gnome3, systemd, autoreconfHook , accountsservice, libX11, gnome3, systemd, autoreconfHook
, gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth , gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth
, librsvg, coreutils, xwayland, nixos-icons }: , librsvg, coreutils, xwayland, nixos-icons, fetchpatch }:
let let
@ -51,6 +51,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
patches = [ 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. # Change hardcoded paths to nix store paths.
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./fix-paths.patch;