anchor.diff:  , pam
   , qt5
   , systemd_lib
  +, systemd-dummy
   , xorg
   }:
   
  
positive.code:     "-DUID_MAX=2147483647"
    ];
  
    meta = with stdenv.lib; {
      maintainers = with maintainers; [
        wkennington
  
negative.code:     pam
      qt5
      systemd_lib
      systemd-dummy
      xorg.libxcb
    ];
  
    postPatch = ''
      # Fix systemd journal dependency
      grep -q 'libsystemd-journal' CMakeLists.txt
      sed -i 's,libsystemd-journal,libsystemd,' CMakeLists.txt
  
      # Fix broken man page
      grep -q '\*\*@SYSTEM_CONFIG_DIR@\*$' data/man/sddm.conf.rst.in
      sed -i '/SYSTEM_CONFIG_DIR/s,@\*$,@**,' data/man/sddm.conf.rst.in
    '';
  
    preConfigure = ''
      touch "$TMPDIR/login.defs"
  