vtk: fix build due to doCheck = true on !darwin

Per https://hydra.nixos.org/build/41525447 the build now fails because
there's no "check" target.

Ref: 450dd55d95
This commit is contained in:
Joachim Fasting 2016-10-02 20:14:58 +02:00
parent ecd41c19b8
commit 627ada684b
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -45,8 +45,6 @@ stdenv.mkDerivation rec {
"-DCMAKE_OSX_DEPLOYMENT_TARGET="
"-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" ];
doCheck = !stdenv.isDarwin;
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i 's|COMMAND vtkHashSource|COMMAND "DYLD_LIBRARY_PATH=''${VTK_BINARY_DIR}/lib" ''${VTK_BINARY_DIR}/bin/vtkHashSource-7.0|' ./Parallel/Core/CMakeLists.txt
sed -i 's/fprintf(output, shift)/fprintf(output, "%s", shift)/' ./ThirdParty/libxml2/vtklibxml2/xmlschemas.c