Skip to content

📝 Added instructions for installing on NixOS. - #2279

Open
machadofguilherme wants to merge 1 commit into
sindresorhus:mainfrom
machadofguilherme:readme-nixos
Open

📝 Added instructions for installing on NixOS.#2279
machadofguilherme wants to merge 1 commit into
sindresorhus:mainfrom
machadofguilherme:readme-nixos

Conversation

@machadofguilherme

Copy link
Copy Markdown

Added instructions for installing Caprine on NixOS.
I've covered the three main installation methods in the README.md file.

Comment thread readme.md
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
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also another caprine package. Can you add that too? @machadofguilherme

Comment thread readme.md
<td>NixOS</td>
<td>Nixpkgs</td>
<td align="center">❌</td>
<td>Yueh-Shun Li</td>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could put it as Official since it is already in Nixpkgs which is an official repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants