Skip to content

Commit

Permalink
sddm: theme background images use a relative path which breaks sddm-kcm
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Oct 16, 2017
1 parent 7bf1913 commit 02a23b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/applications/display-managers/sddm/default.nix
Expand Up @@ -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;
};
}

0 comments on commit 02a23b7

Please sign in to comment.