1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00

Fix deprecated pythonForBuild usages

This commit is contained in:
Ben Wolsieffer 2024-02-09 21:16:23 -05:00
parent 3307ed5ecd
commit 74fec72eaf
2 changed files with 2 additions and 2 deletions

View file

@ -2,5 +2,5 @@
makeSetupHook {
name = "ament-cmake-core-setup-hook";
substitutions.python_executable = python.pythonForBuild.interpreter;
substitutions.python_executable = python.pythonOnBuildForHost.interpreter;
} ./setup-hook.sh

View file

@ -77,7 +77,7 @@ rosSelf: rosSuper: with rosSelf.lib; {
python-cmake-module = rosSuper.python-cmake-module.overrideAttrs ({ ... }: let
python = rosSelf.python;
in {
pythonExecutable = python.pythonForBuild.interpreter;
pythonExecutable = python.pythonOnBuildForHost.interpreter;
pythonLibrary = "${python}/lib/lib${python.libPrefix}.so";
pythonIncludeDir = "${python}/include/${python.libPrefix}";
setupHook = ./python-cmake-module-setup-hook.sh;