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 = '' checkPhase = ''
patchShebangs ./run-test patchShebangs .
substituteInPlace ./run-test \ substituteInPlace ./run-test \
--replace 'ocropus-rpred' 'ocropus-rpred -Q $NIX_BUILD_CORES' --replace 'ocropus-rpred' 'ocropus-rpred -Q $NIX_BUILD_CORES'
PATH=".:$PATH" ./run-test PATH=".:$PATH" ./run-test