7

I installed nix on osx using this command:

$ sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume

Following instructions here:

https://hydra.nixos.org/build/119559243/download/1/manual/#sect-macos-installation

I'm trying to build a project that uses the nix shell and it's telling me to edit something in a file called nix.conf. However the project documentation was setup using a linux or nixos distribution so not sure where this file is located on osx. (The docs say to look in /etc/nix/nix.conf, but this file doesn't exist in osx)

Brian Yeh
  • 3,119
  • 3
  • 26
  • 40

1 Answers1

8

/etc/nix/nix.conf may not exist, you need to create it.

iElectric
  • 5,633
  • 1
  • 29
  • 31