From 9a673b3a51d940a4c267bf9a98e89c45766d940c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Mas=C5=82owski?= Date: Thu, 7 Nov 2024 13:41:28 +0100 Subject: [PATCH] docs: update readme to include info to restart nix-daemon --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6739019eb..c3d47f70f2 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,22 @@ Daedalus - Cryptocurrency Wallet # If you are running on a Mac with Apple Silicon chip, but want to also build for Intel: extra-platforms = x86_64-darwin aarch64-darwin ``` - -3. Run `nix develop` with a correct argument or by using existing `package.json` scripts to load a shell with all the correct versions of all the required dependencies for development, e.g.: + +3. Are you a MacOS user? Reload nix-daemon. + 1. Stop the daemon + ```bash + sudo launchctl remove org.nixos.nix-daemon + ``` + 2. Verify it's not running (only grep process should be listed) + ```bash + ps aux | grep nix-daemon + ``` + 3. Start the daemon + ```bash + sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist + ``` + +4. Run `nix develop` with a correct argument or by using existing `package.json` scripts to load a shell with all the correct versions of all the required dependencies for development, e.g.: * `nix develop -L .#mainnet` * … which is equivalent to `yarn nix:mainnet`