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

Support installation as Nix package #414

Open
pepicrft opened this issue Jun 5, 2023 · 3 comments
Open

Support installation as Nix package #414

pepicrft opened this issue Jun 5, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@pepicrft
Copy link

pepicrft commented Jun 5, 2023

Is your feature request related to a problem? Please describe.
I use Nix instead of Homebrew for package management and couldn't install the Vapour toolbox because the only installation method supported is Homebrew's

Describe the solution you'd like
It'd be great if Vapor provided a Nix package for Nix users

Describe alternatives you've considered
The alternative that I considered was pulling the source code of the project, compiling it, and exposing the executable through the PATH environment variable.

Additional context
I'd be happy to take a stab at supporting this if the team is happy with this direction. Note that this is an additional installation method that would need to be maintained. The upside is that through Home Manager, developers can easily pin a project to the Vapour toolbox.

@pepicrft pepicrft added the enhancement New feature or request label Jun 5, 2023
@0xTim
Copy link
Member

0xTim commented Jun 13, 2023

Are there any docs on what would be required? Adding a new package manager adds a burden as something we need to maintain so I'd like to see what would be involved before comitting (we don't really test Homebrew on Linux either)

@pepicrft
Copy link
Author

I'd recommend checking out other Swift CLIs that have been packaged for Nix, for example SwiftFormat, and also this tutorial. Writing it is a bit involved, but once published, the maintenance is low. Have you folks consider testing the currently supported installation methods? Happy to contribute some tests there.

@0xTim
Copy link
Member

0xTim commented Jul 5, 2023

@pepicrft if we can automate releases in the same way we do with Homebrew and you're happy to contribute getting the initial stuff added then lets go for it

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

No branches or pull requests

2 participants