[Nix-dev] Re: python-wrapper or similar
Ludovic Courtès
ludo at gnu.org
Fri Jun 11 14:03:18 CEST 2010
Hi Peter,
Peter Simons <simons at cryp.to> writes:
> > Within Nix builds Python’s setup hook along with ‘buildPythonPackage’ do the
> > right thing, too.
>
> Yes, *building* Python code works fine. It's mostly running it that doesn't
> work. The reason is that there is no general solution to the problem of setting
> up PYTHONPATH.
It’s the same problem as setting up $GUILE_LOAD_PATH, $LD_LIBRARY_PATH, etc.
I have LIBRARY_PATH=$HOME/.nix-profile/lib, etc. in my .bashrc so I can
use C libraries installed in my profile, for instance.
Thanks,
Ludo’.
More information about the nix-dev
mailing list