From 6c13cf930e4bd72b160e86ec5f24271801368f1d Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sat, 27 Mar 2021 12:41:35 +0300 Subject: [PATCH] docs(nix): update nix commands to match latest nix changes --- nix/README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/nix/README.md b/nix/README.md index eb77f3c9fc..6df9cad2ae 100644 --- a/nix/README.md +++ b/nix/README.md @@ -33,7 +33,7 @@ nix run gitlab:veloren/veloren # Server CLI: nix run gitlab:veloren/veloren#veloren-server-cli # or if you have a local repo -nix run . +nix run nix run .#veloren-server-cli ``` @@ -44,7 +44,7 @@ nix profile install gitlab:veloren/veloren # Server CLI: nix profile install giltab:veloren/veloren#veloren-server-cli # or if you have a local repo: -nix profile install . +nix profile install nix profile install .#veloren-server-cli ``` @@ -172,12 +172,9 @@ cp nix/envrc .envrc If a specific revision is specified in `flake.nix`, you will have to update that first, either by specifying a new desired revision or by removing it. -You can update the dependencies individually or all at once from the root of the project: +You can update dependencies with: ```shell -# only nixpkgs -nix flake update --update-input nixpkgs -# everything -nix flake update --recreate-lock-file +nix flake update ``` ### Without flakes