我删除了/nix并重新安装了nix,但是在使用sh <(curl -L https://nixos.org/nix/install)
安装nix (MACBook Pro M1 arm64 BigSur)之后,我运行了$ nix
,但是我得到了输出zsh: command not found: nix
,与nix-shell
相同,也没有创建/nix卷,我还在https://docs.plutus-community.com/docs/setup/MacOS.html上尝试了相同的指令。
发布于 2022-01-23 12:36:13
/etc/zshrc
并查找以下行(可能在文件末尾):Nix if -e /etc/zshrc
;然后。'/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh‘fi # End Nix~/.zshrc
并将上面复制的行添加到该文件的末尾https://stackoverflow.com/questions/70733236
复制相似问题