@@ -50,12 +50,16 @@ in mkDerivation rec {
5050 postInstall = ''
5151 # remove empty scripts
5252 rm "$out/share/sddm/scripts/Xsetup" "$out/share/sddm/scripts/Xstop"
53+ for f in $out/share/sddm/themes/**/theme.conf ; do
54+ substituteInPlace $f \
55+ --replace 'background=' "background=$(dirname $f)/"
56+ done
5357 '';
5458
5559 meta = with lib; {
5660 description = "QML based X11 display manager";
57− homepage = https://github.com/sddm/sddm;
58− platforms = platforms.linux;
61+ homepage = https://github.com/sddm/sddm;
5962 maintainers = with maintainers; [ abbradar ttuegel ];
63+ platforms = platforms.linux;
6064 };
6165}