Skip to content

Commit

Permalink
Fix nixpkgs link and add flake-based command
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Gerace <[email protected]>
  • Loading branch information
nickgerace committed Feb 6, 2023
1 parent ad9c3b3 commit 5b8ddcb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,18 @@ pacman -S gfold

### Nix and NixOS

You can install `gfold` from [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/version-management/git-and-tools/gfold/default.nix):
You can install `gfold` from [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/version-management/gfold/default.nix):

```shell
nix-env --install gfold
```

If you are using [flakes](https://nixos.wiki/wiki/Flakes), you can install using the `nix` command directly.

```shell
nix profile install "nixpkgs#gfold"
```

### Cargo Install

You can use [cargo](https://crates.io) to install the [crate](https://crates.io/crates/gfold) on almost any platform.
Expand Down

0 comments on commit 5b8ddcb

Please sign in to comment.