[Nix-dev] wicd broken after stdenv-updates

Bjørn Forsman bjorn.forsman at gmail.com
Wed Mar 13 20:50:22 CET 2013


On 13 March 2013 20:43, Carles Pagès <page.lists at gmail.com> wrote:
> Hi python masters,
>
> Since the stdenv-updates merge (I guess), wicd fails to start with:
> mar 13 20:22:58 leaf wicd-start[1968]: File
> "/nix/store/nb1g0mcy50jg6p1v2z1kw4719hm5cqyr-wicd-1.7.1-beta2share/daemon/wicd-daemon.py",
> line 46, in <module>
> mar 13 20:22:58 leaf wicd-start[1968]: import gobject
> mar 13 20:22:58 leaf wicd-start[1968]: ImportError: No module named gobject
>
> Can someone with python skills have a look at this?

I'm no python (or nixos) expert, but someone on IRC said they have
PYTHONPATH=$HOME/.nix-profile/lib/python2.7/site-packages/:/run/current-system/sw/lib/python2.7/site-packages.
I tried it myself and it works.

Why isn't PYTHONPATH set to this by default? Or is this the bug - that
PYTHONPATH no longer is set?

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list