nixpkgs/pkgs/desktops/gnome/core/gnome-backgrounds/stable-dir.patch
cwyc 35279a22be gnome-backgrounds: stable image paths
This patch makes the backgrounds database point to stable paths in /run/current-system/sw that don't decay whenever this package's hash changes.
2021-10-20 12:45:54 -04:00

9 lines
363 B
Diff

diff --git a/backgrounds/meson.build b/backgrounds/meson.build
index 2175a16..cf521df 100644
--- a/backgrounds/meson.build
+++ b/backgrounds/meson.build
@@ -1,5 +1,5 @@
dataconf = configuration_data()
-dataconf.set('BACKGROUNDDIR', backgrounddir)
+dataconf.set('BACKGROUNDDIR', '/run/current-system/sw/share/backgrounds/gnome')
dataconf.set('datadir', datadir)