Skip to content
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

legacyPackages lacks colcon and other tools #150

Open
d-johnston-fugro opened this issue Nov 18, 2021 · 3 comments · May be fixed by #481
Open

legacyPackages lacks colcon and other tools #150

d-johnston-fugro opened this issue Nov 18, 2021 · 3 comments · May be fixed by #481

Comments

@d-johnston-fugro
Copy link

When using the flake for nix-ros-overlay, certain tools like colcon are not included under legacyPackages. I believe this is because you scope the export as pkgs.rosPackages.

@d-johnston-fugro
Copy link
Author

d-johnston-fugro commented Nov 18, 2021

nix-repl> ros = builtins.getFlake "github:lopsided98/nix-ros-overlay"
nix-repl> ros.legacyPackages.x86_64-linux.noetic.colcon
error: attribute 'colcon' missing

       at «string»:1:1:

            1| ros.legacyPackages.x86_64-linux.noetic.colcon
             | ^
            2|
nix-repl> pkgs = import <nixpkgs> { system = "x86_64-linux"; overlays = [ ros.outputs.overlay ]; }
nix-repl> pkgs.colcon
«derivation /nix/store/a0wxvsxz1dhcpa002s8cvz917vhajd86-colcon-0.6.1.drv»

@koalp
Copy link
Contributor

koalp commented Nov 15, 2023

Hello

What do you think about adding something like

  rosPackages = {
    gazebo = super.gazebo;
    colcon = super.colcon;
    ...
  };

in default.nix ?

It's probably what I will do in a fork to be able to use colcon in my project.

@lopsided98
Copy link
Owner

Yes, I've considered doing this but never got around to it. There are a lot of other packages that might be useful, but this is better than nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants