git.iko.soy/typeable/nixpkgs
on master help sign in
sddm: theme background images use a relative path which breaks sddm-kcm
commit02a23b7b24d753baec14a860404a93de6d62931d authorPeter Hoeg <peter@hoeg.com> dateSun 15 Oct 2017, 14:58 (9 years ago) parent7bf1913
1 file changed+6−2
pkgs/applications/display-managers/sddm/default.nix+6−2
pkgs/applications/display-managers/sddm/default.nix+6−2
@@ -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}