Questions tagged [nix-shell]
The nix-shell tag has no usage guidance.
29
questions
0
votes
0
answers
7
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
46
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 ...
0
votes
0
answers
29
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
31
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
39
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
0
answers
15
views
Week 7 not building
I just downloaded (git pull) week 7, did the checkout, entered the nix shell, did cabal update, and then cabal build. I get this error.
$ cabal build
HEAD is now at ee59880 Don't use the unsafe ...
0
votes
1
answer
51
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
42
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
337
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 ...
1
vote
1
answer
146
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
14
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
112
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
80
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
144
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
72
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
53
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
110
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 ...
0
votes
2
answers
290
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
88
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
189
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
102
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
391
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
43
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
62
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
223
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
215
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
72
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
138
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
407
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:...