Open nwn opened 5 months ago
I tested this in nix repl
via:
:l .
:u with python3Packages; colcon-core.withExtensions [ colcon-argcomplete colcon-bash colcon-cmake colcon-core colcon-defaults colcon-devtools colcon-library-path colcon-metadata colcon-notification colcon-output colcon-package-information colcon-package-selection colcon-parallel-executor colcon-python-setup-py colcon-recursive-crawl colcon-ros colcon-test-result colcon-zsh colcon-clean ]
colcon ...
Seems to work as expected.
This adds the colcon-clean extension that provides a nice command for workspace cleaning. The extension relies on the
scantree
Python package which isn't part of nixpkgs, so that package is specified manually as well. I'm not sure if that's how you'd typically do this or whether the dependency should be specified differently.