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

Two Questions: Build Steps and Bulk Plugins #113

Open
redxtech opened this issue Aug 3, 2024 · 5 comments
Open

Two Questions: Build Steps and Bulk Plugins #113

redxtech opened this issue Aug 3, 2024 · 5 comments

Comments

@redxtech
Copy link
Contributor

redxtech commented Aug 3, 2024

I'm interested in adding a couple of plugins, and have a few questions:

First:
I have a bunch of plugins I'd like to add. Would it be easier/better for me to add them all in a single PR? Otherwise I can continue to do a new PR per plugin.

Second:
how should i go about adding build steps (buildRustPackage, etc.) for plugins that require them? Is that out of scope for the repo? Or should I add the build step in overrides.nix?

@jooooscha
Copy link
Member

Thank you for your contributions. Always nice to see :)

For your first question, it should be fine to add all of them in one go.

For your second question:
Could you point me to a plugin that needs any extra built steps?
I think we don't have any in the repo so I am not sure yet how to handle them

@redxtech
Copy link
Contributor Author

redxtech commented Aug 6, 2024

Alright, I can make another PR with the rest of the plugins I want to add.

Here's a plugin that requires a build step, I've made a PR to nixpkgs to add it:

https://github.com/NixOS/nixpkgs/pull/330224/files

I would imagine we could do the same thing here, using the overrides.nix to handle the build step, while using the current method for updating the base plugin.

@jooooscha
Copy link
Member

I would imagine we could do the same thing here, using the overrides.nix to handle the build step, while using the current method for updating the base plugin.

That sounds good. Let me know if you need any help.

@redxtech
Copy link
Contributor Author

redxtech commented Aug 7, 2024

It looks like you've commented out the line that includes the overrides.nix in the final output, is there a reason for this? Was it implemented at one point, but has since broken, so it's been commented out until it can be fixed? I tried uncommenting it, and the build broke.

For me to add the build steps, should I still work with the same overrides.nix file? Or should I create a new one just for build step?

If sticking with the existing one, would you be able to get what's currently there working? Or at least provide some info on what caused its removal so I can look into fixing it?

@jooooscha
Copy link
Member

Yes, it was commented out, because I did not use it. You can just replace it with what you need and include it again.

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

No branches or pull requests

2 participants