3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #154191 from lourkeur/unbreak/chiapos

This commit is contained in:
legendofmiracles 2022-01-10 17:27:53 -06:00 committed by GitHub
commit a85c71ab7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -2,6 +2,7 @@
, substituteAll
, buildPythonPackage
, fetchPypi
, catch2
, cmake
, cxxopts
, ghc_filesystem
@ -27,6 +28,7 @@ buildPythonPackage rec {
(substituteAll {
src = ./dont_fetch_dependencies.patch;
inherit cxxopts ghc_filesystem;
catch2_src = catch2.src;
pybind11_src = pybind11.src;
})
];

View file

@ -1,5 +1,5 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b757b70..fcce055 100644
index 5d7862b..c2d06a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,23 +21,20 @@ include(${CMAKE_INSTALL_PREFIX}/share/cmake/pybind11/pybind11Config.cmake)
@ -29,3 +29,13 @@ index b757b70..fcce055 100644
)
FetchContent_MakeAvailable(gulrak)
@@ -150,8 +147,7 @@ ENDIF()
FetchContent_Declare(
Catch2
- GIT_REPOSITORY https://github.com/catchorg/Catch2.git
- GIT_TAG v2.13.7
+ SOURCE_DIR @catch2_src@
)
FetchContent_MakeAvailable(Catch2)