From 43ad4f2ef0256f118164d750eb215d01992cbd48 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 5 Feb 2023 21:54:57 +0000 Subject: [PATCH] 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: 3404d6b0f76 ("openjpeg: move jpylizer to nativeCheckInputs") --- pkgs/development/libraries/openjpeg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/openjpeg/default.nix b/pkgs/development/libraries/openjpeg/default.nix index e0229f3ed9d..5c6d6b8a134 100644 --- a/pkgs/development/libraries/openjpeg/default.nix +++ b/pkgs/development/libraries/openjpeg/default.nix @@ -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 '';