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