Fix Tahoe-LAFS tests (thanks to zooko)

Zooko pointed out on IRC that running python setup.py build, before running the tests will create /bin/tahoe (which is necessary for running the tests).
wip/yesman
Cillian de Róiste 12 years ago
parent 9b0879bf85
commit dbe7377d28
  1. 5
      pkgs/tools/networking/p2p/tahoe-lafs/default.nix

@ -71,10 +71,9 @@ buildPythonPackage {
find "$out/share/doc/${name}" -name Makefile -exec rm -v {} \;
# Run the tests once everything is installed.
# FIXME: Some of the tests want to run $out/bin/tahoe, which isn't usable
# yet because it gets wrapped later on, in `postFixup'.
export PYTHON_EGG_CACHE="$TMPDIR"
: python setup.py trial
python setup.py build
python setup.py trial
'';
meta = {

Loading…
Cancel
Save