diff options
author | Nick Gerace <nickagerace@gmail.com> | 2023-02-05 20:57:16 -0500 |
---|---|---|
committer | Nick Gerace <nickagerace@gmail.com> | 2023-02-05 22:57:40 -0500 |
commit | 5b8ddcb86fead6f0304b94610c1d7dae2c2120a7 (patch) | |
tree | cf867a89a09e9f301ed8739f2dc52ae8b7604f69 | |
parent | ad9c3b3841a0da9d142f979b1d91591fd66e180d (diff) | |
download | gfold-5b8ddcb86fead6f0304b94610c1d7dae2c2120a7.zip |
Fix nixpkgs link and add flake-based command
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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. |