gsettings_desktop_schemas: Fix path to background images

This fixes the "blue screen" desktop background caused by gnome being
unable to find the image.
This commit is contained in:
Jascha Geerds 2015-07-29 21:51:52 +02:00
parent ba9a6e2d09
commit d27b0bc596
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
sha256 = "0q9l9fr90pcb3s6crbxkj3wiwn7wp9zfpv7bdxkadj0hspd9zzkl";
};
postPatch = ''
for file in "background" "screensaver"; do
substituteInPlace "schemas/org.gnome.desktop.$file.gschema.xml.in" \
--replace "@datadir@" "${gnome3.gnome-backgrounds}/share/"
done
'';
buildInputs = [ glib gobjectIntrospection ];
nativeBuildInputs = [ pkgconfig intltool ];