diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-05-05 05:27:17 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-05-05 05:37:38 +0300 |
commit | 367b2aa1e422f2ee8a0860df52e98a5d788cef6a (patch) | |
tree | e177b340352d9e3eaff66ff7601e2ae3811d366d | |
parent | e58cd82e878f6541eacebde9ed4aad65ae8bfef7 (diff) |
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.
-rw-r--r-- | pkgs/development/libraries/dbus-glib/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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; }; |