blender: fix darwin build

(cherry picked from commit dca87350f4e00539e52731628b98cbcc15c4319a)
This commit is contained in:
Dmitry Kalinkin
2021-06-03 04:30:30 -04:00
parent eab4608a67
commit 2d1b9ef5e7
2 changed files with 9 additions and 14 deletions
@@ -78,10 +78,6 @@ stdenv.mkDerivation rec {
--replace '${"$"}{LIBDIR}/openmp' \
'${llvmPackages.openmp}'
substituteInPlace build_files/cmake/platform/platform_apple.cmake \
--replace 'set(PYTHON_VERSION 3.7)' \
'set(PYTHON_VERSION ${python.pythonVersion})' \
--replace '${"$"}{PYTHON_VERSION}m' \
'${"$"}{PYTHON_VERSION}' \
--replace '${"$"}{LIBDIR}/python' \
'${python}' \
--replace '${"$"}{LIBDIR}/opencollada' \