Skip to content

Commit

Permalink
Add Nix/NixOS installation instructions to readme (complexlogic#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctem authored Dec 26, 2023
1 parent db691cf commit 5b66efb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,23 @@ A package is available on the [release page](https://github.com/complexlogic/rsg
sudo dnf install https://github.com/complexlogic/rsgain/releases/download/v3.4/rsgain-3.4-1.x86_64.rpm
```

#### Nix/NixOS

`rsgain` is in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/rs/rsgain/package.nix). Some options:

- Run it without installing:
```sh
nix run nixpkgs#rsgain
```
- Install it in your Nix environment:
```sh
nix-env -f '<nixpkgs>' -iA rsgain
```
- Add it to your NixOS configuration:
```nix
environment.systemPackages = with pkgs; [ rsgain ];
```

#### Others

Users of other distros will need to build from source. See [BUILDING](docs/BUILDING.md).
Expand Down

0 comments on commit 5b66efb

Please sign in to comment.