After installing Nix, you need to reload your env file or simply re-login to your system.
Check your nix is installed:
1
nix --version
Copied!
Set up the IOHK binary caches
Adding the IOHK binary cache to your Nix configuration will speed up builds a lot, since many things will have been built already by our CI.
If you find you are building packages that are not defined in this repository, or if the build seems to take a very long time then you may not have this set up properly.
On non-NixOS, edit /etc/nix/nix.conf and add the following lines:
If you don’t have an /etc/nix/nix.conf or don’t want to edit it, you may add the nix.conf lines to ~/.config/nix/nix.conf instead. You must be a trusted user to do this.