mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +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 {
|
makeSetupHook {
|
||||||
name = "ament-cmake-core-setup-hook";
|
name = "ament-cmake-core-setup-hook";
|
||||||
substitutions.python_executable = python.pythonForBuild.interpreter;
|
substitutions.python_executable = python.pythonOnBuildForHost.interpreter;
|
||||||
} ./setup-hook.sh
|
} ./setup-hook.sh
|
||||||
|
|
|
@ -77,7 +77,7 @@ rosSelf: rosSuper: with rosSelf.lib; {
|
||||||
python-cmake-module = rosSuper.python-cmake-module.overrideAttrs ({ ... }: let
|
python-cmake-module = rosSuper.python-cmake-module.overrideAttrs ({ ... }: let
|
||||||
python = rosSelf.python;
|
python = rosSelf.python;
|
||||||
in {
|
in {
|
||||||
pythonExecutable = python.pythonForBuild.interpreter;
|
pythonExecutable = python.pythonOnBuildForHost.interpreter;
|
||||||
pythonLibrary = "${python}/lib/lib${python.libPrefix}.so";
|
pythonLibrary = "${python}/lib/lib${python.libPrefix}.so";
|
||||||
pythonIncludeDir = "${python}/include/${python.libPrefix}";
|
pythonIncludeDir = "${python}/include/${python.libPrefix}";
|
||||||
setupHook = ./python-cmake-module-setup-hook.sh;
|
setupHook = ./python-cmake-module-setup-hook.sh;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue