mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-23 10:21:48 +01:00
docs: add Nix instructions to README
This commit is contained in:
parent
bb536e9184
commit
4765746652
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -22,6 +22,25 @@ cargo install forgejo-cli
|
|||
cargo install --git https://codeberg.org/Cyborus/forgejo-cli.git --branch main
|
||||
```
|
||||
|
||||
### Nix
|
||||
|
||||
A Nix flake is included in this repository that you may use. You could install it into your Nix
|
||||
profile, for example:
|
||||
```
|
||||
nix profile install git+https://codeberg.org/Cyborus/forgejo-cli
|
||||
```
|
||||
...or include it in the flake inputs of your NixOS system:
|
||||
```nix
|
||||
{
|
||||
inputs = {
|
||||
# ...
|
||||
forgejo-cli.url = "git+https://codeberg.org/Cyborus/forgejo-cli";
|
||||
};
|
||||
# ...
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### OCI Container
|
||||
|
||||
`forgejo-cli` is available as an OCI container for use in CI, at
|
||||
|
|
Loading…
Reference in a new issue