summary refs log tree commit diff
path: root/pkgs/applications/display-managers/sddm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/display-managers/sddm/default.nix')
-rw-r--r--pkgs/applications/display-managers/sddm/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/display-managers/sddm/default.nix b/pkgs/applications/display-managers/sddm/default.nix
index b7bf5ee5664..e4f68d786f4 100644
--- a/pkgs/applications/display-managers/sddm/default.nix
+++ b/pkgs/applications/display-managers/sddm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, makeQtWrapper, fetchFromGitHub
+{ stdenv, makeQtWrapper, fetchFromGitHub, fetchpatch
 , cmake, pkgconfig, libxcb, libpthreadstubs, lndir
 , libXdmcp, libXau, qtbase, qtdeclarative, qttools, pam, systemd
 , themes
@@ -20,14 +20,20 @@ let
     patches = [
       ./0001-ignore-config-mtime.patch
       ./0002-fix-ConfigReader-QStringList-corruption.patch
+      (fetchpatch {
+        url = https://github.com/benjarobin/sddm/commit/7d05362e3c7c5945ad85b0176771bc1c5a370598.patch;
+        sha256 = "17f174lsb8vm7k1vx00yiqcipyyr6hgg4rm1rclps7saapfah5sj";
+      })
     ];
 
     nativeBuildInputs = [ cmake pkgconfig qttools ];
 
     buildInputs = [
-      libxcb libpthreadstubs libXdmcp libXau qtbase qtdeclarative pam systemd
+      libxcb libpthreadstubs libXdmcp libXau qtbase pam systemd
     ];
 
+    propagatedBuildInputs = [ qtdeclarative ];
+
     cmakeFlags = [
       "-DCONFIG_FILE=/etc/sddm.conf"
       # Set UID_MIN and UID_MAX so that the build script won't try