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: 450dd55d954ab23c3e8f86bc64d020d0e4e8c36e
commit627ada684b97ab3b727468242551e49b56e562f7
authorJoachim Fasting <joachifm@fastmail.fm>
dateSun 2 Oct 2016, 20:14 (10 years ago)
parentecd41c1
pkgs/development/libraries/vtk/default.nix−2
@@ -45,8 +45,6 @@ stdenv.mkDerivation rec {
4545 "-DCMAKE_OSX_DEPLOYMENT_TARGET="
4646 "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" ];
4747
48− doCheck = !stdenv.isDarwin;
49−
5048 postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
5149 sed -i 's|COMMAND vtkHashSource|COMMAND "DYLD_LIBRARY_PATH=''${VTK_BINARY_DIR}/lib" ''${VTK_BINARY_DIR}/bin/vtkHashSource-7.0|' ./Parallel/Core/CMakeLists.txt
5250 sed -i 's/fprintf(output, shift)/fprintf(output, "%s", shift)/' ./ThirdParty/libxml2/vtklibxml2/xmlschemas.c