From 367b2aa1e422f2ee8a0860df52e98a5d788cef6a Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Thu, 5 May 2016 05:27:17 +0300 Subject: dbus-glibc: Set --exec-prefix to fix pkgconfig file Without this notify-osd fails to find dbus-binding-tool, since the pkgconfig file would contain e.g.: ```` prefix=/nix/store/hxsbjbjn7g1j1cf60n228yi9wnzrl4yk-dbus-glib-0.104 exec_prefix=${prefix} ```` ... and notify-osd is using `exec_prefix` to locate the binaries. Set it to $dev to match the location of installed binaries (we have `outputBin = "dev";`). Issue #15074. --- pkgs/development/libraries/dbus-glib/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/libraries/dbus-glib') diff --git a/pkgs/development/libraries/dbus-glib/default.nix b/pkgs/development/libraries/dbus-glib/default.nix index 59d227f0e8689..d06a919cadacd 100644 --- a/pkgs/development/libraries/dbus-glib/default.nix +++ b/pkgs/development/libraries/dbus-glib/default.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ dbus glib ]; + preConfigure = '' + configureFlagsArray+=("--exec-prefix=$dev") + ''; + doCheck = true; passthru = { inherit dbus glib; }; -- cgit 1.4.1