lol

eccodes: use ctestCheckHook

+7 -5
+7 -5
pkgs/development/libraries/eccodes/default.nix
··· 9 9 libpng, 10 10 gfortran, 11 11 perl, 12 + ctestCheckHook, 12 13 enablePython ? false, 13 14 pythonPackages, 14 15 enablePosixThreads ? false, ··· 65 66 ]; 66 67 67 68 doCheck = true; 68 - 69 - # Only do tests that don't require downloading 120MB of testdata 70 - checkPhase = '' 71 - ctest -R "eccodes_t_(definitions|calendar|unit_tests|md5|uerra|grib_2nd_order_numValues|julian)" -VV 72 - ''; 69 + nativeCheckInputs = [ ctestCheckHook ]; 70 + checkFlags = [ 71 + "-R" 72 + # Only do tests that don't require downloading 120MB of testdata 73 + "eccodes_t_(definitions|calendar|unit_tests|md5|uerra|grib_2nd_order_numValues|julian)" 74 + ]; 73 75 74 76 meta = with lib; { 75 77 homepage = "https://confluence.ecmwf.int/display/ECC/";