Skip to content

Commit

Permalink
Merge pull request #3234 from input-output-hk/docs/nix-cache-readme-u…
Browse files Browse the repository at this point in the history
…pdate

docs: update readme to include info to restart nix-daemon
  • Loading branch information
szymonmaslowski authored Nov 7, 2024
2 parents 7578a24 + 9a673b3 commit f9e2cf4
Showing 1 changed file with 16 additions and 2 deletions.
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

0 comments on commit f9e2cf4

Please sign in to comment.