From fabc930dddcfb6dd3dfc6e3b2536219f559353e0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 12 Nov 2017 03:30:35 +0100 Subject: [PATCH] colord: move the DBus configuration to /etc NixOS generates /etc/dbus-1/system.conf including the configuration of all the dbus derivations. Unfortunately, colord places the configuration into $out/share instead of expected $out/etc. This commit patches colord to use the expected path. https://github.com/hughsie/colord/issues/61 --- pkgs/tools/misc/colord/fix-build-paths.patch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/misc/colord/fix-build-paths.patch b/pkgs/tools/misc/colord/fix-build-paths.patch index 7eb66a0b34be..3761fee89838 100644 --- a/pkgs/tools/misc/colord/fix-build-paths.patch +++ b/pkgs/tools/misc/colord/fix-build-paths.patch @@ -36,6 +36,13 @@ ) endif +@@ -50,5 +50,5 @@ + output : 'org.freedesktop.ColorManager.conf', + configuration : con2, + install: true, +- install_dir: join_paths(get_option('datadir'), 'dbus-1', 'system.d') , ++ install_dir: join_paths(get_option('prefix'), 'etc', 'dbus-1', 'system.d') , + ) --- a/meson.build +++ b/meson.build @@ -258,6 +258,3 @@