Loading pkgs/development/libraries/catch2/3.nix +6 −2 Original line number Diff line number Diff line Loading @@ -7,13 +7,13 @@ stdenv.mkDerivation rec { pname = "catch2"; version = "3.0.1"; version = "3.1.0"; src = fetchFromGitHub { owner = "catchorg"; repo = "Catch2"; rev = "v${version}"; hash = "sha256-GcMkAgSfQnWs8wQeQD4ZMxJZED8V7FWBU04qMCutlPo="; hash = "sha256-bp/KLTr754txVUTAauJFrsxGKgZicUEe40CZBDkxRwk="; }; nativeBuildInputs = [ Loading @@ -23,6 +23,10 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DCATCH_DEVELOPMENT_BUILD=ON" "-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}" ] ++ lib.optionals (stdenv.isDarwin && doCheck) [ # test has a faulty path normalization technique that won't work in # our darwin build environment https://github.com/catchorg/Catch2/issues/1691 "-DCMAKE_CTEST_ARGUMENTS=-E;ApprovalTests" ]; doCheck = true; Loading Loading
pkgs/development/libraries/catch2/3.nix +6 −2 Original line number Diff line number Diff line Loading @@ -7,13 +7,13 @@ stdenv.mkDerivation rec { pname = "catch2"; version = "3.0.1"; version = "3.1.0"; src = fetchFromGitHub { owner = "catchorg"; repo = "Catch2"; rev = "v${version}"; hash = "sha256-GcMkAgSfQnWs8wQeQD4ZMxJZED8V7FWBU04qMCutlPo="; hash = "sha256-bp/KLTr754txVUTAauJFrsxGKgZicUEe40CZBDkxRwk="; }; nativeBuildInputs = [ Loading @@ -23,6 +23,10 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DCATCH_DEVELOPMENT_BUILD=ON" "-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}" ] ++ lib.optionals (stdenv.isDarwin && doCheck) [ # test has a faulty path normalization technique that won't work in # our darwin build environment https://github.com/catchorg/Catch2/issues/1691 "-DCMAKE_CTEST_ARGUMENTS=-E;ApprovalTests" ]; doCheck = true; Loading