📝 Added instructions for installing on NixOS. - #2279
Open
machadofguilherme wants to merge 1 commit into
Open
Conversation
Comment on lines
+149
to
+178
| #### Installation in NixOS: | ||
|
|
||
| There are 3 official ways to install Caprine on your system. | ||
|
|
||
| 1. NixOS Configuration | ||
|
|
||
| * Edit your NixOS configuration file and add the following statement: | ||
|
|
||
| ```nix | ||
| environment.systemPackages = [ | ||
| pkgs.caprine-bin | ||
| ]; | ||
| ``` | ||
|
|
||
| 2. nix-shell | ||
|
|
||
| * Open your favorite terminal and create an isolated environment with Nix Shell: | ||
|
|
||
| ```sh | ||
| nix-shell -p caprine-bin | ||
| ``` | ||
|
|
||
| 3. nix-env (not recommended) | ||
|
|
||
| The traditional way to install packages. Not recommended by the NixOS developers: | ||
|
|
||
| ```sh | ||
| nix-env -iA nixos.caprine-bin | ||
| ``` | ||
|
|
There was a problem hiding this comment.
There is also another caprine package. Can you add that too? @machadofguilherme
| <td>NixOS</td> | ||
| <td>Nixpkgs</td> | ||
| <td align="center">❌</td> | ||
| <td>Yueh-Shun Li</td> |
There was a problem hiding this comment.
I think you could put it as Official since it is already in Nixpkgs which is an official repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added instructions for installing Caprine on NixOS.
I've covered the three main installation methods in the README.md file.