Commit graph

17 commits

Author SHA1 Message Date
Ben Wolsieffer
a5a2a217b3 Don't install ament-cmake-vendor packages to /opt
Use the standard install directories instead. This makes the packages
integrate with Nix better and doesn't appear to break anything.
2024-10-15 21:40:40 -04:00
hacker1024
885f79c638 buildEnv: Link libraries and executables from the opt directory 2024-10-13 16:32:24 -04:00
hacker1024
1e05a2eb88 buildEnv: Populate GZ_CONFIG_PATH in wrapper 2024-10-13 16:32:24 -04:00
Thies Oelerich
dabd41fd0d Added fixup phase flag 2024-09-14 21:31:54 -04:00
hacker1024
a3c7efb5bb buildEnv: Add ROS version environment variables to wrapper 2024-02-25 21:04:52 -05:00
hacker1024
cb54e58da4 buildEnv: Disable redundant fixup operations 2024-01-01 13:14:27 -05:00
Ben Wolsieffer
efb6c01bcc buildEnv: cleanup extension of postBuild 2023-08-02 16:49:23 -04:00
Joshua Leivenzon
5ab5b4d476 Allow supplying custom makeWrapper arguments in buildEnv
For example (https://github.com/lopsided98/nix-ros-overlay/issues/45):

```
postBuild = ''
  rosWrapperArgs+=(--set-default RMW_IMPLEMENTATION rmw_fastrtps_dynamic_cpp)
'';
```
2023-08-02 16:48:29 -04:00
Joshua Leivenzon
fa63ec0022 Amend to postBuild and passthru in buildEnv rather than replacing 2023-08-02 16:48:29 -04:00
Joshua Leivenzon
14ace52f46 Don't pass wrapPrograms to Nixpkgs's buildEnv 2023-08-02 16:48:29 -04:00
Ben Wolsieffer
c0077930c0 buildEnv: add Python packages to environment and set LD_LIBRARY_PATH
Now that we set PYTHONPATH in the wrappers, we can add Python packages to the
environment as well. This is necessary to make certain ros2cli commands work
(e.g. ros2launch).

Also, ROS2 loads the RMW implementation dynamically, so we need to set
LD_LIBRARY_PATH in the wrappers.
2022-11-07 13:00:32 -05:00
Ben Wolsieffer
52cd3cf9af buildEnv: add PYTHONPATH to wrappers 2022-11-06 15:00:40 -05:00
Jeremy Kolb
a6cc2182f7 Use makeWrapper as a native build input
Fixes cross-compilation
2022-07-16 23:41:21 -04:00
Ben Wolsieffer
e9319aa956 buildEnv: add AMENT_PREFIX_PATH to wrapper 2021-11-14 12:12:26 -05:00
Ben Wolsieffer
f860994164 Fix buildEnv with no paths.
This is kind of stupid, but Hydra tries to build it this way.
2020-08-02 20:16:46 -04:00
Ben Wolsieffer
e3f44c7f88 buildEnv: wrap binaries
Also enable Python wrapping.
2020-08-02 18:58:08 -04:00
Ben Wolsieffer
444edcec26 Move everything in rosPackages to its own directory. 2020-01-17 21:21:17 -05:00