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:
parent
ba9a6e2d09
commit
d27b0bc596
|
@ -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 ];
|
||||
|
|
Loading…
Reference in New Issue