[Nix-dev] Re: python-wrapper or similar

Peter Simons simons at cryp.to
Fri Jun 11 11:07:12 CEST 2010


Hi Nathaniel,

 > The modules [func and certmaster] compile to .eggs but don't work even if i
 > set PYTHONPATH=$HOME/.nix-profile/lib/python2.6/site-packages [...].

PYTHONPATH must be set to include the appropriate "egg" sub-directories. Adding
only the "site-packages" directory doesn't suffice.

Generally speaking, the state of Python in Nix is poor. We need a way to
compute PYTHONPATH properly, like ghc-wrapper does for GHC, but so far no-one
has volunteered to do it.

Take care,
Peter




More information about the nix-dev mailing list