Skip to main content

Questions tagged [nix-shell]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
133 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: ...
Woodland Pools's user avatar
0 votes
1 answer
92 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/...
Falcon Stakepool's user avatar
0 votes
1 answer
74 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 ...
Falcon Stakepool's user avatar
2 votes
2 answers
298 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 ...
tyvan266's user avatar
1 vote
1 answer
225 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.]...
sumit bakhli's user avatar
1 vote
1 answer
111 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 ...
Ryan Thackston's user avatar
2 votes
1 answer
635 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 ...
DaveLind's user avatar
1 vote
0 answers
85 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 ...
Dani Ihza Farrosi's user avatar
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-...
ViktorYasterbov's user avatar
0 votes
2 answers
51 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....
Mitchell Turner's user avatar
0 votes
1 answer
103 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 ...
KryptoKing's user avatar
0 votes
3 answers
68 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 (...
Steve Mason's user avatar
5 votes
2 answers
350 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 ...
Steve Mason's user avatar
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 ...
punkbit's user avatar
  • 178
0 votes
0 answers
26 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) ...
SidneyN's user avatar
  • 11
0 votes
1 answer
1k views

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

Plutus Pioneers Week 01 exercise. cloned the plutus-app directory edited the nix.conf file (added the iohk binaries reference) moved to the plutus-app directory After downloading, linking and ...
Alex Pestchanker's user avatar
1 vote
1 answer
105 views

Error when executing npm start in plutus-playground-client

I get this error when I try to execute npm start in the plutus-playground-client directory 10% building 0/1 entries 0/0 dependencies 0/0 modulesℹ 「wds」: Project is running at https://0.0.0.0:8009/ ℹ 「...
Jose Marvin Henriquez's user avatar
0 votes
0 answers
245 views

GLIBC_2.33 Not Found After Installing Cardano Node .?

nix-shell: /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libc.so.6: version GLIBC_2.33' not found (required by /usr/local/lib/libsodium.so.23)` My nix-Shell was working fine but after ...
Dawar Ejaz's user avatar
1 vote
1 answer
116 views

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

On Windows 10 with WSL2 (Ubuntu) I go to plutus-apps, then run nix-shell, there after I run build-and-serve-docs from within nix-shell See image for errors.. After build I can access a documentation ...
HeikoR's user avatar
  • 11
1 vote
1 answer
145 views

nix-shell : getting error "Index state found was 2021-10-20T00:00:00Z and no `index-sha256` was provided."

I'm having issues starting nix-shell from the plutus-apps directory. I have followed the steps provided here: https://docs.plutus-community.com/docs/setup/WindowsCohort2.html. Below is the full output ...
brian's user avatar
  • 11
0 votes
1 answer
200 views

nix-build not found inside nix-shell (Linux)

Every time I enter nix-shell, I need to execute the following command, otherwise nix-build and other nix-* commands are not found. source /home/xxx/.nix-profile/etc/profile.d/nix.sh I have added the ...
Cyrus's user avatar
  • 11
1 vote
3 answers
649 views

nix installation issue on Fedora 35

I just ran sh <(curl -L https://nixos.org/nix/install) --daemon to install nix via its installation instructions. I proceeded through the installation menu where it backs up your bashrc and other ...
drock00's user avatar
  • 41
0 votes
1 answer
123 views

Plutus Pioneers Program Environment Setting, nix-shell command cause syntax error, 8.10.5 is out of date

I'm encountered syntax error message as below when I command "nix-shell" to build environment setting. Could you advise what makes this error message? --- error message --- trace: WARNING: 8....
Tae Euy's user avatar
  • 25
1 vote
1 answer
215 views

Haskell Language Server - linker error: symbol sqlite3_fts3_may_be_corrupt

When I run haskell-language-server in nix-shell in plutus-pioneer-progam i get this error. sqlite3_fts3_may_be_corrupt whilst processing object file /nix/store/jmhwwzn1yfjzlxavz16afkf1r4shmp8z-...
Johan Wahlqvist's user avatar
1 vote
2 answers
285 views

nix-shell command causes error "invalid character in Base64 string"

I'm following the Plutus Env: Setup Starter Pack guideline to run a Plutus Playground Local Instance. At step 4, when running the command nix-shell, I got the error message error: invalid character in ...
Nhan Nguyen's user avatar
4 votes
3 answers
451 views

nix-shell did not create the server/client directories

I am trying to follow the instructions in https://docs.plutus-community.com/docs/setup/Ubuntu.html The nix-shell command completes without any errors. But, I cannot cd to plutus-plaground-server or ...
wakathi's user avatar
  • 100
0 votes
1 answer
73 views

Error when building HSL for GHC 8.10.4.20210212

I'm trying to get the haskell language server installed on my mac and I"m following the docs at https://docs.plutus-community.com/docs/setup/editors/prerequisites.html but they seem to not work. ...
Paymahn Moghadasian's user avatar
5 votes
2 answers
521 views

nix-shell stuck on Building library for hnix

I'm just gonna post a problem that I've been experiencing for a few days (and having a hard time searching for the answer on the internet) and the solution, so that future questions can refer to this ...
Owen Yuwono's user avatar
2 votes
2 answers
273 views

How to compile plutus source code locally?

I'm trying to compile the Plutus source code locally, I tried cabal build in nix-shell, getting this error After searching the rest of the dependency tree exhaustively, these were the goals I've had ...
Prashanth S.'s user avatar
2 votes
1 answer
113 views

How to get latest version of Plutus in project file of plutus-starter-devcontainer

I've been trying to get the latest version of plutus on my project but I get the following error message when I run nix-shell: error: attribute '8a20664f00d8f396920385947903761a9a897fe0' missing, at /...
Aoaddeola's user avatar
  • 757
3 votes
1 answer
172 views

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

I've seen other questions similar to this about a 404 error, but this is different. I have the IOHK Plutus cache set up as per the instructions. Getting the following error: trying https://bintray.com/...
mal's user avatar
  • 323
6 votes
2 answers
592 views

I'm having issues with nix-shell

I keep getting this error, any thoughts? I have re-downloaded nix 3 times now and it's the same error as before. Not sure if it's the profiles or channels but this is what it gives me: '''trying https:...
KIJIRI's user avatar
  • 607