serokell / deploy-rs

A simple multi-profile Nix-flake deploy tool.
Other
1.22k stars 100 forks source link

Add installation instructions #266

Closed jmatsushita closed 3 weeks ago

jmatsushita commented 3 months ago

Hi there,

Great tool πŸ‘ Would it make sense to also add an Installation section in the README? Currently the documented approach is to nix run github:serokell/deploy-rs however that's quite verbose.

I've tried to install as a home-manager package with inputs.deploy-rs.packages.aarch64-darwin.deploy-rs, however I hit the warning warning: unknown flake output 'deploy' which is mentioned in this issue https://github.com/serokell/deploy-rs/issues/155.

In that issue it's mentioned that the preferred approach is to either:

Is there not currently an option to install deploy-rs system wide or in a home-manager profile?

It would be great to have this information in it's own section in the README πŸ™

Cheers,

Jun

PhilTaken commented 3 months ago

Is there not currently an option to install deploy-rs system wide or in a home-manager profile?

you can technically, just like any other nix package. I would argue it does make a lot of sense since deploy-rs is only really useful when you use the library to define deployments anyways so you can just export it either as an app or in a devshell.

what is your use-case that would require you to have it available system-wide?

PhilTaken commented 3 weeks ago

Closing due to inactivity