8 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....
Matthias Sieber's user avatar
  • 1,557
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....
Travis's user avatar
  • 520
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.
Samuel Leathers's user avatar
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 ...
Travis's user avatar
  • 520
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) --...
Igodlab's user avatar
  • 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 ...
perezda's user avatar
  • 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 ...
drock00's user avatar
  • 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 ...
mal's user avatar
  • 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.
KIJIRI's user avatar
  • 687
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=...
d_fajardo's user avatar
  • 198
2 votes

plutus-apps nix-shell on Mac M2 segmentation fault

After days of spelunking the internet, I found a comment in IOG ask-nix-os suggesting to use GC_DONT_GC=1 nix-shell and that solved the problem. As of today, if you follow all the steps in my issue ...
Woodland Pools's user avatar
2 votes
Accepted

Error when executing nix-shell in plutus-apps

There are two ways of fixing this issue: Temporary Add --experimental-features 'nix-command flakes' when calling the nix-shell command. Permanent Edit either ~/.config/nix/nix.conf or /etc/nix/nix....
Falcon Stakepool's user avatar
2 votes
Accepted

Nix-shell in plutus-apps

The nix cache is now located at cache.iog.io With a /etc/nix/nix.conf (or ~/.config/nix/nix.conf) that looks like this: experimental-features = nix-command flakes allow-import-from-derivation = true ...
21eleven's user avatar
1 vote

VSCode HLS not working for plutus project

1 - Try running first the nix shell in a terminal then, from inside the nix shell, go to your project folder, and run: code . Than will open you project with vcode and all the terminals and the HSL ...
Manu Padilla's user avatar
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-...
Ryan Thackston's user avatar
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 ...
ViktorYasterbov's user avatar
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/
dailyinvention's user avatar
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 ...
omegafer's user avatar
  • 106
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
Samuel Leathers's user avatar
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 ...
Alex Pestchanker's user avatar
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 ...
LexTRX's user avatar
  • 343
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 ...
kindofdev's user avatar
  • 1,294
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
Owen Yuwono's user avatar
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 ...
Dilworth's user avatar
  • 211
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
Marthijn Wassink's user avatar

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