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
Update README.md #921
base: master
Are you sure you want to change the base?
Update README.md #921
Conversation
ADD a note about adding '/run/current-system/sw/bin' to path in order to access the 'darwin-rebuild' command if the command is not found
i'm not sure why 'install-against-stable' failed, since I only updated the README.md... |
README.md
Outdated
NOTE: if the 'darwin-rebuild' command is not found, you will need to add a path to your ~/.bashrc or ~/.zshrc file. In the file, add: `export PATH=/run/current-system/sw/bin:$PATH` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should replace the one on 135
NOTE: if the 'darwin-rebuild' command is not found, you will need to add a path to your ~/.bashrc or ~/.zshrc file. In the file, add: `export PATH=/run/current-system/sw/bin:$PATH` | |
After installing, restarting your computer should make `darwin-rebuild` available in your `PATH` to apply changes to your system: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Enzime I've incorporated your suggestion
|
||
```bash | ||
darwin-rebuild switch --flake ~/.config/nix-darwin | ||
``` | ||
|
||
> NOTE: if the 'darwin-rebuild' command is not found after installation, you will need to add a path to your shell configuration (f.e. the ~/.bashrc or ~/.zshrc file). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> NOTE: if the 'darwin-rebuild' command is not found after installation, you will need to add a path to your shell configuration (f.e. the ~/.bashrc or ~/.zshrc file). |
If nix-darwin
is installed correctly then the user shouldn't have this issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Enzime I understand the reason for removing it, however the inclusion of guardrails can make a program more approachable for newbies
ADD a note about adding '/run/current-system/sw/bin' to path in order to access the 'darwin-rebuild' command if the command is not found