From 64812249ad699f769da2405754269b1bec432399 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sat, 12 Dec 2020 17:03:51 +0300 Subject: [PATCH] nix: add bundle subcommand usage --- nix/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nix/README.md b/nix/README.md index 646c41554c..26c9f800df 100644 --- a/nix/README.md +++ b/nix/README.md @@ -126,6 +126,20 @@ To enter a shell environment with the necessary tools: nix develop ``` +You can use the `bundle` subcommand to bundle the game into a single distro-agnostic executable file: +```shell +## bundling latest commit to master +# Voxygen: +nix bundle gitlab:veloren/veloren +# Server CLI: +nix bundle gitlab:veloren/veloren#veloren-server-cli +## for local repo: +# Voxygen: +nix bundle .#veloren-voxygen +# Server CLI: +nix bundle .#veloren-server-cli +``` + ### Without flakes To enter the development shell: