diff --git a/README.md b/README.md index 576868ed..a3bf1d83 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ simple distributed register example: 0. Install [`nix`](https://nixos.org/download.html#nix-quick-install); 1. Clone this repository; 2. `cd` into the repository; -3. Issue `nix-shell --command 'bazel build //...'` to compile all binaries; +3. Issue `nix-build` to compile all binaries; 4. Run `nix-env -if default.nix` to package up and install all binaries; 5. Prepare the database with `detsys db up`; 6. Start the scheduler component with `detsys scheduler up`. diff --git a/default.nix b/default.nix index 563cf8dc..47f0435e 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,6 @@ { sources ? import ./nix/sources.nix , pkgs ? import sources.nixpkgs {} -, nix-build-all ? false +, nix-build-all ? true , nix-build-checker ? false , nix-build-cli ? false , nix-build-db ? false