-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: add extra_packages
input
#37
Conversation
568c71e
to
c12041a
Compare
27c8c76
to
b74ad99
Compare
I hate Bash! |
b74ad99
to
9381c2c
Compare
9381c2c
to
70e464d
Compare
I dont think this covers enough cases:
I think it's best to let the users in control of the setup, can't they install packages with a |
I don't think it would be feasible to try to cover all edge cases with this workflow.
Users shouldn't need to know nix or write package overrides. All this input does is add the package to the
If this were a JavaScript action, it would be possible to install packages using other github actions dedicated to installing them. I'm pretty sure there are far less github actions for installing packages than there are packages available on nixpkgs. |
User must use the derivation path used by nix. Granted there is https://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query=neovim
depending on how much it covers is it worth adding ? Right now users do something like
Our action runs in docker if I trust action.yaml:
is there a way to have it run on the host instead ? so that users can install dependencies on the host of their choice (ubuntu/fedora etc) then run this action which can use the previously installed software in PATH. We would need to install nix on that host though. Installing software is hard (only nix does it well IMO) so adding an action-specific way of doing it will end up being a lot of work + confusion for plugin authors IMO. |
What do you mean by derivation path? The nix store path or the nixpkgs attribute set path, e.g.
We could try out a composite action that uses cachix/install-nix-action. |
Alternate approach in #38 |
Closing in favour of #38 |
Fixes #35.