[Nix-dev] [nixpkgs] dbus library and tools interdependency

Rickard Nilsson rickard.nilsson at telia.com
Wed Aug 1 12:15:28 CEST 2012


Den 2012-07-31 18:01:13 skrev Rickard Nilsson <rickard.nilsson at telia.com>:

> 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 ];

I created a pull request for this: https://github.com/NixOS/nixpkgs/pull/81

   / Rickard


More information about the nix-dev mailing list