Skip to content

Commit

Permalink
docs: add install instructions for nixpkgs (#2401)
Browse files Browse the repository at this point in the history
* docs: add install instructions for nixpkgs

I also included the link to the package in NixOS Search btw.

* docs: remove nixos config notes per #2401 (comment)
  • Loading branch information
ajhalili2006 committed May 25, 2023
1 parent e7f9261 commit de86af3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/installing-with-package-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,25 @@ emerge app-editors/lapce
brew install lapce
```

### nixpkgs

You can find the packages [here](https://search.nixos.org/packages?channel=unstable&show=lapce&from=0&size=50&sort=relevance&type=packages&query=lapce):

```bash
# try with nix-shell
nix-shell -p lapce

# on NixOS
nix-env -iA nixos.lapce

# on non-NixOS installs, including macOS
nix-env -iA nixpkgs.lapce

# only if nix.settings.experimental-features is set to both "nix-command" and "flakes"
# WARNING: THIS BREAKS nix-env, PROCEED AT YOUR OWN RISK. THIS ALSO INSTALLS FROM UNSTABLE BRANCH.
nix profile install nixpkgs#hello
```

### Scoop

```bash
Expand Down

0 comments on commit de86af3

Please sign in to comment.