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:
parent
3307ed5ecd
commit
74fec72eaf
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue