Closed pgrange closed 2 years ago
I'm running macOS 12.6 on Intel
I installed nix according to MacOS instructions:
#> sh <(curl -L https://nixos.org/nix/install)
In a new nix ready terminal, I've setup nix configuration according to cardano-ledger build instructions:
cat <<EOF | sudo tee -a /etc/nix/nix.conf
experimental-features = nix-command flakes
substituters = https://cache.iog.io https://cache.nixos.org/
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
EOF
Then, from cardano-ledger directory:
#> nix-shell --pure --run make
@pgrange what directory are you in?
Thanks for your quick feedback @JaredCorduan.
My bad, I was in the root directory of the project. I did not pay attention to the directories that were mentioned in the text.
I think something like that would be more absent-minded-proof for people like me ;)
cd eras/shelley/formal-spec
nix-shell --pure --run make
maybe
cd myLaTexDir
nix-shell --pure --run make
would make it clearer that this is instructions for more that just the shelley spec?
That's probably better 👍 even maybe:
cd <myLaTexDir>
nix-shell --pure --run make
When trying to build individual LaTeX documents I get the following errors:
Related to Originally posted by @JaredCorduan in https://github.com/input-output-hk/cardano-ledger/issues/3074#issuecomment-1276059386