3
0
Fork 0
forked from mirrors/nixpkgs

sddm: theme background images use a relative path which breaks sddm-kcm

This commit is contained in:
Peter Hoeg 2017-10-15 14:58:08 +08:00
parent 7bf191337e
commit 02a23b7b24

View file

@ -50,12 +50,16 @@ in mkDerivation rec {
postInstall = ''
# remove empty scripts
rm "$out/share/sddm/scripts/Xsetup" "$out/share/sddm/scripts/Xstop"
for f in $out/share/sddm/themes/**/theme.conf ; do
substituteInPlace $f \
--replace 'background=' "background=$(dirname $f)/"
done
'';
meta = with lib; {
description = "QML based X11 display manager";
homepage = https://github.com/sddm/sddm;
platforms = platforms.linux;
homepage = https://github.com/sddm/sddm;
maintainers = with maintainers; [ abbradar ttuegel ];
platforms = platforms.linux;
};
}