Files
nixpkgs/pkgs/development/python-modules/pytorch-tokenizers/dont-fetch-pybind11.patch
2025-11-12 12:41:40 +00:00

15 lines
376 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97f0fe6..8c78f85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -171,8 +171,7 @@ if(TOKENIZERS_BUILD_PYTHON)
include(FetchContent)
FetchContent_Declare(
pybind11
- GIT_REPOSITORY https://github.com/pybind/pybind11.git
- GIT_TAG v2.13.6
+ URL @pybind11@
)
FetchContent_MakeAvailable(pybind11)