mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 19:24:50 +03:00
Fix NixOS ROS2 node params.
This commit is contained in:
parent
04878391b7
commit
bcd031613e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ in {
|
||||||
(commonServiceConfig args)
|
(commonServiceConfig args)
|
||||||
{
|
{
|
||||||
paths = [ cfg.pkgs.ros2run ];
|
paths = [ cfg.pkgs.ros2run ];
|
||||||
rosArgs = concatMap (k: v: [ "--param" "${k}:=${v}" ]) cfg.params;
|
rosArgs = flatten (mapAttrsToList (k: v: [ "--param" "${k}:=${v}" ]) config.params);
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue