I'm just gonna post a problem that I've been experiencing for a few days (and having a hard time searching for the answer on the internet) and the solution, so that future questions can refer to this solution.
Hardware
I'm using Macbook Pro Intel 2020, macOS Monterrey Beta 6
Problem
So the problem was when I was running nix-shell
in the plutus repository for the first time, and after downloading all the dependencies, the nix-shell
stuck at Building library for hnix-#.#.#
and [1 of 50] Compiling Nix.Atoms
.
What I did before compiling was installing Nix from the official documentation https://nixos.org/download.html
I also did configure the binary cache from https://github.com/input-output-hk/plutus#iohk-binary-cache
Also tried to start with and without https://github.com/input-output-hk/plutus#nix-on-macos
All to no success, still stuck at Building library for hnix-#.#.#
and [1 of 50] Compiling Nix.Atoms