New answers tagged

1

I found this /etc/nix/nix.conf to work for my macOS i7 Monterey (v12.1). It was recommended to turn the sandbox FALSE because 'not recommended' per Ref #1 below. build-users-group = nixbld substituters = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+...


0

When starting the client server on macOS use GC_DONT_GC=1 npm run start. That is, include GC_DONT_GC=1 in front of the command npm run start. Then, open a browser tab to http://localhost:8009/ and, using Brave Browser, Advance from warnings. (Not https, see note below). Note: I had to update my Plutus-apps/plutus-playground-client/webpack.config.js file per ...


0

I had success with just fully uninstalling nix. However, uninstalling nix wasn't straight forward either (surprise!). From my research, here are options that worked. How to uninstall nix: Script Github kintsugi/uninstall-nix-osx.sh (hat tip to the tutorial https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md, see very bottom) from ...


1

macOS nix setup on x86_64 (Intel, AMD) and aarch64 (Apple Silicon) should be identical. Running the installer from the official website, should get you a proper install. You do want to add the iohk substituter to get access to the cached builds: https://hydra.iohk.io hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= I'm fairly sure that the iohk....


1

I have found the solution!! Thanks to starting nix-shell on mac "Operation not permitted" MacOs seems to require that the Nix Sandbox setting is set to OFF. I have turned it on, while setting Nix, as I read somewhere that it should be turning ON (It seems that by default it is OFF in MacOS, so if you didn't changed it in the nix.conf you should be ...


0

I had the same issue. I changed my docker settings to use 8Gb memory and 2Gb swap and that worked. It was possible because my Mac has 16Gb memory, and that is not your case. As your Mac has only 8Gb, I would suggest you bump up your swap a little bit more, maybe 4Gb. I played with my settings a little bit and 4GB of swap was the limit, maybe you would need ...


2

To make npm work, you can try GC_DONT_GC=1 npm start. However; I found the way the playground starts using nix-build in the script to start the server and running npm to get the frontend fickle and convoluted. My coworker Shay and I worked on https://github.com/input-output-hk/plutus-pioneers. This is still pretty raw and hopefully the logic will eventually ...


0

It should be fine - I got it running a day ago by following this guide which is for apple silicon (M1) macs : https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md with 2 differences: in step 3, when modifying nix.conf file, remove the "aarch64-darwin" string later when you are starting plutus playground server and clients I ...


1

These missing symbols _crypto_vrf_* are in libsoidum-vrf library. You seem to be linking the cardano-node against your systems provided libsodium. That sadly doesn't work as the official libsodium does not have the vrf extension.


0

Intel Macs should not be a problem.


1

No, it is not. In fact I'm running the plutus-playground-server and plutus-playground-client on an x86_64-darwin machine with nix right now.


4

In step 7, there should be a 2nd line instructing you clone the plutus-apps. Change plutus.git to plutus-apps.git in step 7 to clone it, then run the playground nix-build from the top of that second repo.


2

You will not be able to build this in less than 8G of RAM. Adding swap to make the total memory at least 8G may help.


1

The line Falling back to older state () means you probably need to run cabal update first (which downloads a copy of the current hackage index state).


0

I can't help confirm this bug as I am on macOS >10.15 (and I don't see the same problem) but I'd recommend raising a new Issue here. That seems like the appropriate place to report this issue based on this: User feedback is important because it helps us improve the Plutus Playground. We want to hear from you about any usability issues or bugs that you ...


Top 50 recent answers are included