Skip to content

Commit

Permalink
Added nixpkgs installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Oct 1, 2024
1 parent 4c7a841 commit b5c2b97
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,43 @@ E = m c^2

### Cargo

Install the [stable release](https://crates.io/crates/tex-fmt) with

``` shell
# install stable release
cargo install tex-fmt
```

Install from [GitHub](https://github.com/WGUNDERWOOD/tex-fmt) with

# install from github
```shell
cargo install --git "https://github.com/wgunderwood/tex-fmt"
```

### Nix

If you would like tex-fmt to appear in
[nixpkgs](https://github.com/NixOS/nixpkgs),
please add a 👍 reaction to the
[pull request](https://github.com/NixOS/nixpkgs/pull/341818).
Alternatively, to build from source, use
Install from
[nixpkgs-unstable](
https://search.nixos.org/packages?channel=unstable&query=tex-fmt)
into a temporary shell with

``` shell
nix-shell -p tex-fmt
```

Build from source using flakes with

``` shell
nix build "github:wgunderwood/tex-fmt"
```

Add to your NixOS installation with

```nix
environment.systemPackages = [
pkgs.tex-fmt
];
```

### Arch Linux

Install from the
Expand Down

0 comments on commit b5c2b97

Please sign in to comment.