Skip to content

Commit

Permalink
vigra: enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShamrockLee committed Jan 22, 2025
1 parent 7d25932 commit 7ff2794
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/libraries/vigra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
python
];

postPatch = ''
chmod +x config/run_test.sh.in
patchShebangs --build config/run_test.sh.in
'';

cmakeFlags =
[
"-DWITH_OPENEXR=1"
Expand All @@ -53,6 +58,8 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;

meta = with lib; {
description = "Novel computer vision C++ library with customizable algorithms and data structures";
mainProgram = "vigra-config";
Expand Down

0 comments on commit 7ff2794

Please sign in to comment.