1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 7922652..d85b058 100644
5 @@ -31,29 +31,18 @@ set(CMAKE_MODULE_PATH
8 FetchContent_Declare(Sodium
9 - GIT_REPOSITORY https://github.com/AmineKhaldi/libsodium-cmake.git
10 - # Latest commit at the moment this was added here
11 - # Anchored to libsodium v1.0.18
12 - GIT_TAG f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65
13 + URL /nix/store/2nj48a8vb7rzxhwaigdcpa0yyax7yrv7-source
15 set(SODIUM_PCH "on" CACHE STRING "")
16 set(SODIUM_DISABLE_TESTS "on" CACHE STRING "")
17 set(SODIUM_CHIA_MINIMAL "on" CACHE STRING "")
18 FetchContent_MakeAvailable(Sodium)
20 -if (DEFINED ENV{RELIC_MAIN})
21 - set(RELIC_GIT_TAG "origin/main")
23 - # This is currently anchored to upstream aecdcae7956f542fbee2392c1f0feb0a8ac41dc5
24 - set(RELIC_GIT_TAG "215c69966cb78b255995f0ee9c86bbbb41c3c42b")
27 message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")
31 - GIT_REPOSITORY https://github.com/Chia-Network/relic.git
32 - GIT_TAG ${RELIC_GIT_TAG}
33 + SOURCE_DIR /nix/store/6r9v1cmmy535q2y0pk0bkjh3ppyzb2ch-source
36 # Relic related options
37 diff --git a/python-bindings/CMakeLists.txt b/python-bindings/CMakeLists.txt
38 index 2e331c3..d9aa940 100644
39 --- a/python-bindings/CMakeLists.txt
40 +++ b/python-bindings/CMakeLists.txt
45 - GIT_REPOSITORY https://github.com/pybind/pybind11.git
47 + SOURCE_DIR @pybind11_src@
49 FetchContent_MakeAvailable(pybind11 relic)
51 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
52 index 3164f7f..15a955e 100644
53 --- a/src/CMakeLists.txt
54 +++ b/src/CMakeLists.txt
55 @@ -37,8 +37,7 @@ install(FILES $<TARGET_FILE:bls> DESTINATION lib)
59 - GIT_REPOSITORY https://github.com/catchorg/Catch2.git
60 - GIT_TAG v3.0.0-preview5
63 FetchContent_MakeAvailable(Catch2)
64 add_executable(runtest test.cpp)