NixOS/nixpkgs — pull request #81 by rickynils (2012-08-01 10:14:56+00:00)
Title: dbus: Merge dbus-library, dbus-tools and dbus-daemon into a single package

I ran into a problem where an application (network-manager-applet) tried to execute dbus-launch from /nix/store/...dbus-library.../bin/dbus-launch, which doesn't exist, since the dbus-launch binary is built by the dbus-tools package. It turns out, however, that it is the dbus-library itself that refers to the dbus-launch binary (in its own bin dir). Since dbus-tools depends on dbus-library, this can't be fixed without introducing a circular dependency.

What do you say about merging dbus-library, dbus-tools and dbus-daemon (which already is equal to dbus-library) into one package?

Doing that solves the problem, and doesn't seem to cause any other problems. The only trouble I can imagine, is that some X11 dependencies are introduced in dbus-library:

```
buildInputs = [ expat ] ++ stdenv.lib.optionals useX11 [ libX11 libICE libSM ];
```