anchor.diff:    ] ++ optional withQt4 qt4
       ++ optional withQt5 qtbase;
   
  -  patches = [ ./run-dir.patch ];
  +  patches = [
  +    ./run-dir.patch
  +    # Adds option to disable writing dmrc files
  +    (fetchpatch {
  +      url = "https://src.fedoraproject.org/rpms/lightdm/raw/4cf0d2bed8d1c68970b0322ccd5dbbbb7a0b12bc/f/lightdm-1.25.1-disable_dmrc.patch";
  +      sha256 = "06f7iabagrsiws2l75sx2jyljknr9js7ydn151p3qfi104d1541n";
  +    })
  +  ];
   
     preConfigure = "NOCONFIGURE=1 ./autogen.sh";
   
  
positive.code: { stdenv, fetchFromGitHub, pam, pkgconfig, autoconf, automake, libtool, libxcb
  , glib, libXdmcp, itstool, intltool, libxklavier, libgcrypt, audit, busybox
  , polkit, accountsservice, gtk-doc, gnome3, gobject-introspection, vala
  , withQt4 ? false, qt4
  , withQt5 ? false, qtbase
  }:
  
negative.code: 
    meta = {
      homepage = https://github.com/CanonicalLtd/lightdm;
      description = "A cross-desktop display manager";
      platforms = platforms.linux;
      license = licenses.gpl3;
      maintainers = with maintainers; [ ocharles worldofpeace ];
  