ocropus: fix chrooted check phase by patchShebangs
This commit is contained in:
parent
e75b6ac468
commit
81a79f9d03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user