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

Rickard Nilsson rickard.nilsson at telia.com
Tue Jul 31 18:01:13 CEST 2012


Hi,

This concerns pkgs/development/libraries/dbus/default.nix

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


   / Rickard


More information about the nix-dev mailing list