sddm: theme background images use a relative path which breaks sddm-kcm
This commit is contained in:
parent
7bf191337e
commit
02a23b7b24
@ -50,12 +50,16 @@ in mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
# remove empty scripts
|
# remove empty scripts
|
||||||
rm "$out/share/sddm/scripts/Xsetup" "$out/share/sddm/scripts/Xstop"
|
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; {
|
meta = with lib; {
|
||||||
description = "QML based X11 display manager";
|
description = "QML based X11 display manager";
|
||||||
homepage = https://github.com/sddm/sddm;
|
homepage = https://github.com/sddm/sddm;
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ abbradar ttuegel ];
|
maintainers = with maintainers; [ abbradar ttuegel ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user