ocropus: fix chrooted check phase by patchShebangs

This commit is contained in:
Vladimír Čunát 2015-05-31 17:52:41 +02:00
parent e75b6ac468
commit 81a79f9d03

View file

@ -41,7 +41,7 @@ pythonPackages.buildPythonPackage {
'';
checkPhase = ''
patchShebangs ./run-test
patchShebangs .
substituteInPlace ./run-test \
--replace 'ocropus-rpred' 'ocropus-rpred -Q $NIX_BUILD_CORES'
PATH=".:$PATH" ./run-test