[Nix-dev] library with python bindings
Damien Cassou
damien.cassou at gmail.com
Wed Oct 8 18:37:00 CEST 2014
Hi,
On Wed, Oct 8, 2014 at 5:04 PM, Andreas Herrmann <andreash87 at gmx.ch> wrote:
> How do I tell Nix to fix `PYTHONPATH` accordingly when this package is loaded, and also to wrap python accordingly?
I think you have to use things like
wrapProgram "$out/bin/yourprogram" --prefix PYTHONPATH : ...
and
propagatedBuildInputs
Look at the existing derivations.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill
More information about the nix-dev
mailing list