openjpeg: fix tests

It seems that in the few weeks between me writing the previous patch
and submitting it for review, I had forgotten I hadn't tested the
non-cross case yet, and so hadn't caught that the tests didn't
actually work any more.  Oops!

Fixes: 3404d6b0f7 ("openjpeg: move jpylizer to nativeCheckInputs")
This commit is contained in:
Alyssa Ross 2023-02-05 21:54:57 +00:00
parent 3226550f0b
commit 43ad4f2ef0

View file

@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
nativeCheckInputs = [ jpylyzer ];
checkPhase = ''
substituteInPlace ../tools/ctest_scripts/travis-ci.cmake \
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"jpylyzer\" # "
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"$(command -v jpylyzer)\" # "
OPJ_SOURCE_DIR=.. ctest -S ../tools/ctest_scripts/travis-ci.cmake
'';