biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / package-management / libdnf / fix-python-install-dir.patch
blobd08ec9deec0251c567869e2c3dbe6497fa46ac00
1 diff --git a/cmake/modules/FindPythonInstDir.cmake b/cmake/modules/FindPythonInstDir.cmake
2 index 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@")