Hi,
I found a work-around. The trick is to not use setuptools.
This can be achieved by setting `configurePhase=":";`. The installPhase
needs to be fixed as well.
installPhase = ''
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
export
PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
${python}/bin/${python.executable} setup.py install \
--install-lib=$out/lib/${python.libPrefix}/site-packages \
--prefix="$out"
'';
Then it builds just fine.
Is that the best way to deal with this issue, or is there a better way?
Best, Andreas
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev