box2d: use replaceVars instead of substituteAll

Changed files
+2 -3
pkgs
by-name
bo
box2d
+2 -3
pkgs/by-name/bo/box2d/package.nix
···
stdenv,
fetchFromGitHub,
-
substituteAll,
+
replaceVars,
# nativeBuildInputs
cmake,
···
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";