mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-09 17:42:22 +03:00
Use makeWrapper as a native build input
Fixes cross-compilation
This commit is contained in:
parent
bb7b9e3723
commit
a6cc2182f7
2 changed files with 3 additions and 2 deletions
|
@ -43,7 +43,7 @@ let
|
|||
# nix-shell -p does.
|
||||
paths = propagatedPaths.rosPackages;
|
||||
|
||||
buildInputs = optional wrapPrograms makeWrapper;
|
||||
nativeBuildInputs = optional wrapPrograms makeWrapper;
|
||||
|
||||
postBuild = ''
|
||||
"${buildPackages.perl}/bin/perl" "${./setup-hook-builder.pl}"
|
||||
|
|
|
@ -7,7 +7,8 @@ let
|
|||
pname = "colcon";
|
||||
inherit (package) version;
|
||||
phases = [ "installPhase" "fixupPhase" ];
|
||||
buildInputs = [ makeWrapper package] ++ extensions;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ package ] ++ extensions;
|
||||
|
||||
installPhase = ''
|
||||
makeWrapper '${package}/bin/colcon' "$out/bin/colcon" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue