Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update readme to include info to restart nix-daemon #3234

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down