Dear Mateusz, Good point, I had just copied that from some other package. It also works with `configurePhase = "";`.
Best, Andreas On 3 July 2014 04:10, Mateusz Kowalczyk <[email protected]> wrote: > On 07/02/2014 01:45 PM, Andreas Herrmann wrote: > > 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 > > > > Why configurePhase=":" and not "" (just empty string)? > > -- > Mateusz K. > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
