mirror of
https://github.com/srid/haskell-flake.git
synced 2024-09-17 17:08:47 +03:00
docs: note about rosetta install on mac
This commit is contained in:
parent
65068a5292
commit
fb6d6700dd
@ -11,13 +11,15 @@ This installer automatically [enable flakes](https://nixos.wiki/wiki/Flakes#Enab
|
||||
To test your Nix install, run:
|
||||
|
||||
```sh
|
||||
nix run nixpkgs#hello
|
||||
nix run nixpkgs#nix-info -- -m
|
||||
```
|
||||
|
||||
Note: If you are on an ARM-based Mac (like M1), the `system` field of `nix-info`'s output must say `"aarch64-darwin"`. If it instead says `"x86_64-darwin"`, it means that you have incorrectly installed Nix (i.e., under Rosetta).
|
||||
|
||||
## See also
|
||||
|
||||
- [[nix-rapid]]
|
||||
- [NixOS](https://nixos.org/), a Linux distro based on the Nix package manager.
|
||||
- [nix-darwin](https://github.com/LnL7/nix-darwin), replaces homebrew and the like on macOS, using Nix.
|
||||
|
||||
[^so]: Use the `sysctl -n sysctl.proc_translated` command to check this. [Ref](https://stackoverflow.com/a/67690510/55246)
|
||||
[^so]: Use the `sysctl -n sysctl.proc_translated` command to check this. [Ref](https://stackoverflow.com/a/67690510/55246)
|
||||
|
Loading…
Reference in New Issue
Block a user