-
Notifications
You must be signed in to change notification settings - Fork 86
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 does one create development shells for packages under development? #521
Comments
I'm not quite sure what you are asking but if I need to hack on a package that is in this repo (in this case |
I think that flattening the dependencies of needed packages is a way to go. Doing that would be useful for me too, but I don't have any code for it. So if you come with some solution, I'd appreciate if you can share it. |
@kjeremy My usecase is maintaining a custom workspace with multiple packages under development. Ideally I would just list the derivation expressions for these in my shell's |
I know I'm late to the party, but would the If you specifically need flattened dependencies, I'm currently developing on a flake-ified fork which does exactly that for ROS dependencies in the |
Yes that one works, it's actually what I am currently using, just wanted to check that there is no any upstream alternative. I have no issues with |
You don't have to use |
In normal situations, I can put specify a package under development within
mkShell
'sinputsFrom
list and it will automatically fetch its dependencies and make them available without building the package itself. Because nix-ros-overlay provides thebuildEnv
utility, I don't see a good way to achieve the same. I guess one could directly flatten a given package's(propagated)(native)buildInputs
and put those insidebuildEnv
. What is the recommended approach here?The text was updated successfully, but these errors were encountered: