-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get rviz? #85
Comments
I can't reproduce this. The following shell works correctly for me:
For packages with binaries in |
Oh... it's the shellHook in my shell.nix file. I was trying to implement this: #82 (comment) which does give me the Gazebo plugins, but in turn apparently breaks access to rviz. Commenting the shellHook out gets rviz back... But I still want those plugins. I don't recall if it's possible to concatenate the shellHooks?
|
The problem is |
Oh, that works, indeed! One thing you could do, perhaps, is take a parameter to the catkin workspace directory, then run catkin_make (or whatever part of it generates the environment variables) and source the setup script when building the shell environment. Since catkin is based on cmake, IIRC it should be possible to perform an out-of-source build, so you don't have to modifiy the workspace. |
Hi, sorry for opening so many issues, I think there's something basic I'm not quite getting.
I have added
rosPackages.noetic.rviz
to thebuildInputs
of the shell, and nix-shell starts without errors, but then I getrviz: command not found
I'm running into a lot of issues like this... Where the package is definitely there in my
/nix/store
, but I'm gettingnot found
errors. Is there a command I'm missing that sets up paths?The text was updated successfully, but these errors were encountered: