openjpeg: move jpylizer to nativeCheckInputs
This is useful when cross-compiling to platforms that we can't build Python for (and also just more semantically correct).
This commit is contained in:
parent
d528d7c8d7
commit
3404d6b0f7
|
@ -55,10 +55,10 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optional (jpipLibSupport) jdk;
|
||||
|
||||
doCheck = (!stdenv.isAarch64 && !stdenv.hostPlatform.isPower64); # tests fail on aarch64-linux and powerpc64
|
||||
|
||||
nativeCheckInputs = [ jpylyzer ];
|
||||
checkPhase = ''
|
||||
substituteInPlace ../tools/ctest_scripts/travis-ci.cmake \
|
||||
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"${jpylyzer}/bin/jpylyzer\" # "
|
||||
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"jpylyzer\" # "
|
||||
OPJ_SOURCE_DIR=.. ctest -S ../tools/ctest_scripts/travis-ci.cmake
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue