Skip to content

Commit

Permalink
Fix nix run command in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cofob committed Jun 19, 2024
1 parent 6ca3b84 commit f1d4726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ Mineflake can be used with Nix or without it. To use Mineflake without Nix, you

``` bash
bash <(curl -L https://nixos.org/nix/install) # (1)
nix run github:nix-community/mineflake --help # (2)
nix run github:nix-community/mineflake -- --help # (2)
```

1. This command installs Nix. If you want to install it manually, you can find more information on [Nix website](https://nixos.org/download.html).

2. This doesn't install Mineflake to your system, it just runs it. So if you want to execute
`mineflake apply` command, you need to run `nix run github:nix-community/mineflake apply` instead.
`mineflake apply` command, you need to run `nix run github:nix-community/mineflake -- apply` instead.

???+ tip "Faster builds (optional)"

Expand Down

0 comments on commit f1d4726

Please sign in to comment.