Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/cmake/modules/FindPythonInstDir.cmake b/cmake/modules/FindPythonInstDir.cmake 2index ed098ded..2a2e1543 100644 3--- a/cmake/modules/FindPythonInstDir.cmake 4+++ b/cmake/modules/FindPythonInstDir.cmake 5@@ -1,6 +1 @@ 6-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c " 7-from sys import stdout 8-from sysconfig import get_path 9-path=get_path(name='platlib', vars={'platbase':'${CMAKE_INSTALL_PREFIX}'}) 10-stdout.write(path)" 11-OUTPUT_VARIABLE PYTHON_INSTALL_DIR) 12+SET(PYTHON_INSTALL_DIR "@PYTHON_INSTALL_DIR@")