diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd072f1..268a272 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,10 +101,11 @@ jobs: cmake --install /tmp/libloot/build # Configure full project (only mobase target will be built) + # Use NIX_PYTHON3 (real nix python) for cmake, not the venv wrapper PYBIND11_DIR=\$(python3 -c 'import pybind11; print(pybind11.get_cmake_dir())') cmake -S . -B build-nix -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DPython_EXECUTABLE=\$(which python3) \ + -DPython_EXECUTABLE=\"\${NIX_PYTHON3}\" \ -Dpybind11_DIR=\"\${PYBIND11_DIR}\" \ -DBUILD_PLUGIN_PYTHON=ON \ -DCMAKE_PREFIX_PATH=/tmp/libloot-install \ |
