我在MacOS Catalina上找不到nix-env、nix-build、nix-shell等。
我安装时使用:
sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume昨天就可以运行它们了。我重新启动了电脑,再也找不到它们了。find / -name nix-env | grep nix-env不显示任何内容。
我尝试使用相同的命令(sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume)再次安装,但这次它立即存在,状态代码为0。
我怀疑我需要做些什么来挂载一个虚拟驱动器。
发布于 2020-11-06 05:56:21
使用Disk Utility UI删除nix卷(sudo rm -rf /nix不起作用)。
然后再次运行脚本,这次祈祷:sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
发布于 2020-11-10 00:36:37
你应该跟着Notes on the recommended approach走。
该卷看起来并未装入(按照文档中所述,使用vifs检查/etc/fstab状态)。
https://stackoverflow.com/questions/64599078
复制相似问题