box2d: use replaceVars instead of substituteAll

This commit is contained in:
Wolfgang Walther
2025-04-23 23:27:19 +02:00
parent 2b7b39cdd6
commit 3bfa33ed99
+2 -3
View File
@@ -3,7 +3,7 @@
stdenv,
fetchFromGitHub,
substituteAll,
replaceVars,
# nativeBuildInputs
cmake,
@@ -41,8 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# prevent CMake from trying to download some libraries from the internet
(substituteAll {
src = ./cmake_dont_fetch_enkits.patch;
(replaceVars ./cmake_dont_fetch_enkits.patch {
enkits_src = fetchFromGitHub {
owner = "dougbinks";
repo = "enkiTS";