Questions tagged [nix-shell]
The nix-shell tag has no usage guidance.
32
questions
0
votes
1
answer
127
views
plutus-apps nix-shell on Mac M2 segmentation fault
I'm unable to run nix-shell on my new M2 Macbook.
I read through the posts from last year on setting up M1 Macbooks with previous plutus-apps tags, but the same steps do not seem to work.
Environment: ...
0
votes
1
answer
89
views
Error when trying to build my Plutus project using nix-shell
I am getting the following error after running cabal build using nix-shell:
cabal: Could not resolve dependencies:
[__0] next goal: Win32-network (user goal)
[__0] rejecting: Win32-network-0.1.1.0/...
0
votes
1
answer
70
views
Error when executing nix-shell in plutus-apps
I am getting...
error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override
...when trying to run nix-shell from plutus-apps repo.
Does anybody know ...
2
votes
2
answers
285
views
Nix-shell in plutus-apps
I'm using Ubuntu 20.04.5 with an 11th Gen Intel® Core™ i7-1195G7 @ 2.90GHz × 8.
After cloning the plutus-apps repo and setting my nix config, i can't get pass the following nix-shell error:
trace: To ...
1
vote
1
answer
222
views
VSCode HLS not working for plutus project
System Info:
Ubuntu :20.04
I am trying to get VSCode HLS extension working for plutus based project but seeing below error in output.
Failed to get project GHC version: no cradle
[Info - 3:27:24 p.m.]...
1
vote
1
answer
107
views
Plutus Playground Server error: opening lock file '/nix/...root.lock': Permission denied
So I've been going through the Plutus Pioneers 3rd cohort lectures and last night accidentally left my computer unplugged. When I booted up Ubuntu Linux on the computer this morning I noticed I have 3 ...
2
votes
1
answer
621
views
Running nix-shell on Mac M1
I successfully installed NixOS on a Mac M1. However, running either nix-shell or GC_DONT_GC=1 nix-shell from within /marlowe-cardano (in the marlowe-pioneers branch) produces:
error: cannot bootstrap ...
1
vote
0
answers
84
views
Plutus Pioneer Cohort 3, Mac M1 cabal build error: Failed to build small-steps-test-0.1.0.0. , symbol not found in flat namespace '_sodium_free'
I'm using MacOS Monterey with M1 chip, and trying to build plutus-app using Nix
Entering $ nix-shell using the specified tag from week01 is working fine, hence I can enter into the shell. The problem ...
0
votes
1
answer
37
views
how to import cardano-cli project into dependecies under cabal?
I've got the following nix-shell:
let
src = builtins.fetchGit {
url = "[email protected]:input-output-hk/plutus-apps.git";
# url = "https://github.com/input-output-hk/plutus-...
0
votes
2
answers
50
views
Why can't the PAB webserver find a socket in PAB-Nami demo?
I'm trying to run the PAB-Nami simple demo in the Plutus Apps repo. When I run the PAB, either using cabal or with the nix-shell script, I'm getting the error:
plutus-pab-nami-demo: Network.Socket....
0
votes
1
answer
101
views
How Do you generate the Cabal and Nix files for a new project?
I built the plutus-apps repo from iohk, and then made a different folder to orgenise my projects. I want to know how to have the nix files needed to make the environment generated in the new project ...
0
votes
3
answers
66
views
Need help getting Cardano-node installed and running - trying to follow Lars example Week03 - Cohort03
I'm trying to replicate what Lars was demonstrating at the start of the week03 testnet setup video https://www.youtube.com/watch?v=ABtffZPoUqU&list=PLNEK_Ejlx3x2zxcfoVGARFExzOHwXFCCL&index=6 (...
5
votes
2
answers
349
views
How can I set up my dev environment faster after pulling the pioneer code repos for each week
Each week so far it takes me over 1.5 hours to bring my dev environment up to date after updating the plutus-pioneer-program and plutus-app repos. This is really painful.
I'm wondering if someone can ...
2
votes
1
answer
164
views
Use the week 01 Nix-shell for week 02?
I'd like to know if we should use the week 01 nix-shell?
My expectation is that the week 01 nix-shell, was used to start the playground service and the front-end UI.
Although, it's clear that there's ...
0
votes
0
answers
25
views
Child compilation failed [duplicate]
Hello Cardano community.
This question has been asked in the community and I would like to resurface it as I am having the same problem.
Ref: plutus-playground-client npm start error (MacOs Intel i7)
...