Questions tagged [nix-shell]
The nix-shell tag has no usage guidance.
38
questions
0
votes
1
answer
24
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
0
answers
30
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
0
answers
9
views
nix-shell fails when first run
I am new to cardano development and I was following the instruction manual that was linked in plutus pioneer program lecture This link and everything went well until I ran nix-shell there is where I ...
0
votes
1
answer
26
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 ...
0
votes
0
answers
23
views
Error when running nix-shell on WSL
I'm a newcomer to Cardano trying to learn Plutus. After cloning IOHK's Plutus-apps (https://github.com/input-output-hk/plutus-apps) repo and already installing nix, I found this error when running nix-...
1
vote
2
answers
142
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 ...
0
votes
0
answers
39
views
I have problem, "error: creating symlink from...permission denied", when running plutus playground server
May you help fix this problem about creating symlink and getting access denied in linux version 22. See details below.
[nix-shell:~/plutus-pioneer-program/code/week01]$ cd ~/plutus-apps/plutus-...
1
vote
1
answer
95
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.]...
0
votes
0
answers
10
views
Unable to simulate example from community docs - NFT Creator
I tried to simulate a project from the Community Docs - NFT Creator. (updated in April 2022)
https://plutus-community.readthedocs.io/en/latest/#Guides/plutus-starter/
The way i executed my project was ...
1
vote
1
answer
59
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 ...
0
votes
0
answers
31
views
How to set up plutus-playground on Windows
I have some struggle setting up the plutus-playground on windows 11 & wsl2. so far I have done the following:
installed nix & restarted the terminal created the etc/nix/nix.conf file and ...
2
votes
1
answer
398
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
76
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
32
views
how to import cardano-cli project into dependecies under cabal?
I've got the following nix-shell:
let
src = builtins.fetchGit {
url = "git@github.com:input-output-hk/plutus-apps.git";
# url = "https://github.com/input-output-hk/plutus-...
0
votes
2
answers
49
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
87
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
59
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
344
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
158
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
24
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)
...
0
votes
1
answer
505
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 ...
1
vote
1
answer
89
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/
ℹ 「...
0
votes
0
answers
210
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 ...
1
vote
1
answer
104
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 ...
1
vote
1
answer
97
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 ...
0
votes
1
answer
151
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 ...
1
vote
3
answers
506
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 ...
0
votes
1
answer
118
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....
1
vote
1
answer
213
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-...
1
vote
2
answers
146
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 ...
4
votes
3
answers
441
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 ...
0
votes
1
answer
63
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. ...
0
votes
0
answers
80
views
Why Cabal will not build Cardano api?
Hi I was just following lecture 1 when trying to build the Auction contract.
Plutus commit: ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4
I ran Cabal clean, Cabal update, then added brew install libsodium-...
5
votes
2
answers
325
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 ...
2
votes
2
answers
242
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 ...
2
votes
1
answer
99
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 /...
4
votes
1
answer
155
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/...
6
votes
2
answers
505
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:...