7 votes

I'm having issues with nix-shell

It may help to use IOHK's binary caches. You can set these up globally for your system by adding/creating these lines in /etc/nix/nix.conf: substituters = https://hydra.iohk.io https://iohk....
  • 1,527
6 votes
Accepted

Use the week 01 Nix-shell for week 02?

Each week, you should change into the plutus-pioneer-program directory cd plutus-pioneer-program Pull the latest changes from upstream git pull View the plutus-apps git tag for the week in the cabal....
  • 510
5 votes

nix-shell did not create the server/client directories

This is documentation drift. Those two applications have moved to the plutus-apps repository. If you do the same exact steps cloning plutus-apps instead of plutus repository, it will work.
4 votes

How can I set up my dev environment faster after pulling the pioneer code repos for each week

My weekly setup steps are similar to yours. But there's a few steps you do that I skip and, so far, haven't had any issues. I've never ran any of these: nix-build -A plutus-playground.client nix-build ...
  • 510
3 votes
Accepted

Running nix-shell on Mac M1

It seems that you did a multi-user w/ daemon installation. I am aware that a functioning guide is here so get nix using the darwing unencrypted label sh <(curl -L https://nixos.org/nix/install) --...
  • 488
3 votes
Accepted

nix-shell did not create the server/client directories

It looks like those folders are not in the git repo. I am running into same problem. I am following instructions for MacOS from here: https://docs.plutus-community.com/docs/setup/MacOS.html And didn't ...
  • 167
3 votes

nix installation issue on Fedora 35

Fixed. I had the Cardano node previously installed which involves compiling and installing libsodium. What I did was go into the libsodium folder and sudo make libsodium uninstall Then re-ran nix ...
  • 41
3 votes
Accepted

403 Forbidden when trying to run nix-shell during setup for Plutus Pioneer Program

So it looks like I initially built on the master branch by mistake. Switching to the correct branch and recompiling didn't help the situation. I reset my WSL instance of Ubuntu and started again, more ...
  • 343
2 votes

I'm having issues with nix-shell

There are multiple different types of nix.conf files in the $PATH, even when I made one globally. So What I initial did was replace all of them with the IOHK's binary caches, and from there it worked.
  • 677
2 votes

How can I set up my dev environment faster after pulling the pioneer code repos for each week

You can create command aliases or write bash scripts to automate certain commands. An example of aliases I've written for myself (in Linux): alias plutus-nix='cd /home/datapool/plutus-apps; GC_DONT_GC=...
  • 188
1 vote

Plutus Playground Server error: opening lock file '/nix/...root.lock': Permission denied

Went back and tried getting it to work today, first went to this link https://www.punkbit.com/hacking/plutus-developer-environment-setup-on-macos-monterey/#6-run-the-plutus-playground-service-and-...
1 vote
Accepted

how to import cardano-cli project into dependecies under cabal?

Just modify the following lines: let packages = import "${src}/default.nix" {}; cardano_pkgs = import "${cardano-node}/shell.nix" {}; in with packages; with pkgs; with ...
1 vote

Why can't the PAB webserver find a socket in PAB-Nami demo?

Start up a Cardano Node. Also, make sure to set the node socket path to to location of your node.sock file is: export CARDANO_NODE_SOCKET_PATH=/cardano-node/example/socket/
1 vote
Accepted

How Do you generate the Cabal and Nix files for a new project?

Once inside the nix-shell, it assumes that the correct dependencies have already been loaded especially if you have built it on top of the newly cloned plutus-apps repo. The nix files necessary are ...
1 vote

Need help getting Cardano-node installed and running - trying to follow Lars example Week03 - Cohort03

easiest way to get a testnet node running: nix run github:input-output-hk/cardano-node#testnet/node --no-write-lock-file
1 vote

Getting status of daemon-socket: Operation not permitted while invoking nix-shell (MacOs)

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 ...
1 vote

Get errors when trying to generate Haddock documentation using build-and-serve-docs

Bro, it happened to me just now. It was because I was in the wrong directory you have to call this from the plutus-apps root directory: You said you are already at this directory but could you please ...
  • 323
1 vote

Haskell Language Server - linker error: symbol sqlite3_fts3_may_be_corrupt

I've found out that the issue comes from the playground stuff. (don't ask me why...) Commenting the lines [360 .. 365], 24 and 28, the problem goes away. Note that doing this, the old friend GHC Core ...
  • 1,264
1 vote
Accepted

nix-shell stuck on Building library for hnix

So the solution was simply to install nix-darwin https://github.com/LnL7/nix-darwin simply follow the instruction on the github page above, and now I can access my nix-shell
1 vote
Accepted

How to compile plutus source code locally?

You appear to be having issues resolving the dependencies for that particular build of Plutus. In fact, all Cardano builds depend on libsystemd (on Linux). If you have incompatible versions of ...
  • 201
1 vote

How to compile plutus source code locally?

Try in the nix-shell try this: cabal update cabal build btw: first time building with cabal can take up some time

Only top scored, non community-wiki answers of a minimum length are eligible