[Nix-dev] DBus and XMonad
Michael Alan Dorman
mdorman at jaunder.io
Wed Oct 19 13:19:43 CEST 2016
Rodney Lorrimar <dev at rodney.id.au> writes:
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jp8hFEY1dV,guid=c6e01dc144bda2ae4ca47c84580747a5;unix:abstract=/tmp/dbus-BjlHWWC2xz,guid=3733c1a431ad4cb309cc622a580747a5
>
> I'm not quite sure why the dbus socket was unavailable, but my solution
> was to enable services.dbus.socketActivated in configuration.nix.
I have seen this, too---manifesting as an taffybar not starting---though
I was doing some more investigation before I enquired.
I was able to roll back to a version that worked, and the clearly
distinguishing feature was that there was only one listing in
DBUS_SESSION_BUS_ADDRESS; and indeed, if I set the environment variable
when starting taffybar, it works fine.
$ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jp8hFEY1dV,guid=c6e01dc144bda2ae4ca47c84580747a5 taffybar
Works just fine.
I guess the question I'm left with is whether the error is in the nix
configuration providing us with two entries in the variable, or in the
haskell dbus package in not handling it properly?
Mike.
More information about the nix-dev
mailing list