Questions tagged [nix]

a package manager and build system that parses reproducible build instructions specified in the Nix Expression Language

Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

Bad File Descriptor on nix-build of Plutus-Apps on Mac M1

I am seeing an error building Plutus-Apps on Mac M1. After precisely following https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md UPDATE: This did resolve. These errors ...
user avatar
  • 90
0 votes
1 answer
46 views

Plutus Starter nix-shell build errors on MacOS Monterey M1 - ghc-cabal: Encountered missing or private dependencies

MacOS Monterey, Apple M1 Installed latest GHC via https://www.haskell.org/ghcup/ but not Stack. Installed nix 2.8.0 multiuser Set Cache in /etc/nix/nix.conf as below: UPDATE: I have since updated nix....
user avatar
  • 90
0 votes
1 answer
23 views

nix attribute not found setting up Dapp repo

I modified slightly cabal.project of the plutus-apps to serve as base for my own application repo. It includes another repo of my own that is also a sligh modification of the plutus repo. If my own ...
user avatar
0 votes
2 answers
23 views

Uninstalling Nix after Node, Db-sync & Postgres Installation

I have installed via Nix a cardano node, DB-sync and Postgres on a single server. My plan is to pass my Postgres data into an Apache Kafka cluster. My node is synced to tip and DB-sync is on epoch ...
user avatar
  • 33
2 votes
2 answers
88 views

Disk Space of Cardano node & Cardano DB-sync

I recently installed the Cardano node and Db-sync and Postgres using nix. I use a server with 97 GB of space, node version 1.34.1 and DB-sync version 12.0. The node took about 70 GB after fully synced ...
user avatar
  • 33
0 votes
1 answer
42 views

Why does building cardano-node require unreasonable amounts of disk space?

What is the reason behind the build process with nix requiring so much disk space when building cardano-node? I totally understand when video games with 4K videos, high resolution textures, large ...
user avatar
0 votes
1 answer
19 views

unable to start plutus-playground-server after full rebuild --> /bin/plutus-playground-server: No such file or directory

After having to completely re-install an OS and setup a development environment. attempting to run the plutus-playground-server after building it wiht nix-build -A plutus-playground.server once in nix-...
user avatar
0 votes
1 answer
44 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 ...
user avatar
1 vote
0 answers
50 views

"You may need to update to a newer hackage.nix" when trying to enter a nix-shell

I am trying to update the packages in my plutus app to the newest version of the PAB. I am by no means an expert with nix or cabal, or any haskell package managers for that matter. I can't seem to ...
user avatar
2 votes
4 answers
166 views

How long Cardano node takes to be installed?

I'm running this script but it takes hours ! curl https://hydra.iohk.io/build/9941098/reproduce | bash Any help? Thanks
user avatar
0 votes
1 answer
22 views

Error starting /plutus-apps client and connecting to localhost macOS

Incurred an error starting /plutus-apps client and connecting to localhost: user error, Interpreter Error, CompilationErrors Short Error plutus-playground-server: user error (Error evaluating ...
user avatar
  • 175
1 vote
0 answers
42 views

Errors with compiling when trying to install offchain-metadata-tools

Hello I am trying to install the offchain-metadata-tools library from IOHK and when using nix-build -A project I am getting this error below saying failed in linker phase when trying to connect to the ...
user avatar
0 votes
1 answer
98 views

macOS Monterey i7, what is the best `nix.conf` file to use?

Does anyone have the recommended nix.conf file to use for macOS Monterey i7? Following a few different tutorials, my current .conf file looks like: build-users-group = nixbld substituters = ...
user avatar
  • 175
1 vote
1 answer
77 views

What is the GC_DONT_GC=1 variable for when running the Plutus Playground locally?

I tried to look for this but I didn't find anything specifically explaining why this fixes errors when launching Plutus Playground locally, although I definitely found instructions on how to go over ...
user avatar
0 votes
1 answer
57 views

nix doctor --verbose [FAIL] Multiple versions of nix found in PATH, on MacOS i7

After performing a git commit tag update on plutus-apps, I restarted my computer, and ran nix doctor --verbose and got the following FAIL [FAIL] Multiple versions of nix found in PATH: /nix/...
user avatar
  • 175
1 vote
1 answer
81 views

error: suspicious ownership or permission with nix-shell command on plutus-apps repository

Using the nix-shell command in a docker container on GitHub codespaces results in the following error: $ nix-shell --show-trace trace: To materialize project.plan-nix for cabal-install entirely, pass ...
user avatar
0 votes
1 answer
107 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 ...
user avatar
  • 11
0 votes
3 answers
57 views

Is nix on an Intel Mac too problematic?

After too many errors I didn't know how to fix. I removed nix, even that was difficult. The nix blog show some progress in supporting M1 Macs but there are still problems. Has anyone succeeded with ...
user avatar
0 votes
2 answers
242 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 ...
user avatar
  • 31
0 votes
2 answers
68 views

How to set plutus-apps NixOS options on Mac

This is the first time I've used nix. On plutus-apps readme, I changed nix.conf but I don't know how to do this step. 2.On NixOS, set the following NixOS options: nix = { binaryCaches = [ &...
user avatar
1 vote
4 answers
229 views

WSL2 install - plutus fails to build, unable to open db file in 'nix/var/nix/db/db.sqlite'

I'm attempting to finish the setup for plutus pioneers cohort3 on wsl2 (Windows 10) with Ubunutu 20.04. When I run the command: nix --extra-experimental-features nix-command build -f default.nix ...
user avatar
1 vote
1 answer
187 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-...
user avatar
  • 11
1 vote
4 answers
176 views

Installing on WLS2 - error: experimental Nix feature 'nix-command' is disabled

I am completely green here. I'm following the instructions laid out in https://docs.plutus-community.com/docs/setup/WindowsWSL.html to setup my windows environment for cohort 3 of the pioneer program ...
user avatar
  • 25
0 votes
2 answers
72 views

What is minimum RAM for running plutus-playground-server on Ubuntu VirtualBox?

I am facing this issues when running $ nix-build -A plutus-playground.server > error: 1 dependencies of derivation > '/nix/store/39qxl421bhkzks2zrra7vy3yl6qqhsib-zlib-lib-zlib-0.6.2.3-config.drv'...
user avatar
  • 1
0 votes
1 answer
70 views

Need help installing pioneer-based code on intel Mac (Big Sur)

I'm following the instructions laid out in https://docs.plutus-community.com/docs/setup/MacOS.html to setup my intel Mac (Big Sur) dev environment for cohort 3 of the pioneer program and having issues....
user avatar
-2 votes
1 answer
33 views

Wil I habe Problems with VirtualMachine?

I have a question: will I have problems installing Nix or Haskell on an Ubuntu VirtualMachine over Win11? Will I have problems with Plutus in the future? Would it be better to install Ubuntu only on ...
user avatar
2 votes
1 answer
188 views

Nix is building ghc during on nix build command (How to fix the cache?)

I'm preparing the Plutus Pioneer program and installing the environment. After installing nix and updating the "IOHK binary cache", I tried to do nix build but it seems that it is building ...
user avatar
  • 25
4 votes
3 answers
375 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 ...
user avatar
  • 100
0 votes
1 answer
96 views

Error when installing nix : the group 'nixbld' specified in 'build-users-group' does not exist

I am trying to install nix/plutus following the below instructions : https://docs.plutus-community.com/docs/setup/Ubuntu.html The first step to install curl when fine. I get below error when ...
user avatar
  • 100
0 votes
1 answer
49 views

nix installation failure on mac with "curl: (60) SSL certificate problem: certificate has expired"

I'm trying to install nix on my macbook but I had following error message. How can I fix this certificate expired problem? macOS : High Sierra 10.13.6 Thanks in advance. //-- error message --- ~ MyMac$...
user avatar
  • 25
2 votes
3 answers
172 views

Sandbox error when running nix build on macOS

I'm trying to get the exercises for week 1 of the plutus pioneer program working. I've installed nix and have set the IOHK caches. When I try to run nix build -f default.nix plutus.haskell.packages....
user avatar
1 vote
1 answer
75 views

Error Starting plutus-playground-client

I'm having error running the plutus-playground-client. Not sure where to look, here is the complete error log. Any suggestions on how to fix? 0 info it worked if it ends with ok 1 verbose cli [ 1 ...
user avatar
3 votes
1 answer
35 views

nix-build alonzo mainnet

I've installed cardano-node via nix-build: git clone https://github.com/input-output-hk/cardano-node cd cardano-node git checkout tags/1.29.0 -b 1_29_0 nix-build -A scripts.mainnet.node -o mainnet-...
user avatar
  • 423
5 votes
2 answers
195 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 ...
user avatar
3 votes
1 answer
90 views

Error with cabal build using plutus-starter-devcontainer on macOS Big Sur

I'm working to set up the plutus-starter-devcontainer integration with VSCode. Dev Environment: macOS Big Sur 11.5.2 Docker Desktop 4.0.0 Following the instructions from here: https://github.com/...
user avatar
  • 51
2 votes
2 answers
214 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 ...
user avatar
2 votes
2 answers
338 views

Installing nix: where is shell profile - MacOS using zsh?

I am trying to install nix on my local iMac. I am following the following Guide to do that. After executing sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume I ...
user avatar
10 votes
3 answers
533 views

Plutus Pioneer Program - Lecture #1- Cabal Build error

I started following the lectures on youtube and got this error when I try to build the English Auction Warning: The build command is a part of the legacy v1 style of cabal usage. Please switch to ...
user avatar
  • 101
6 votes
2 answers
398 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:...
user avatar
  • 677
5 votes
1 answer
150 views

Hash MisMatch Error on Plutus and Nix

I keep getting the Hash Mismatch Error, anyway I can resolve it or get around it? hash mismatch in fixed-output derivation '/nix/store/7y3jr1jvzkj2146h7sivw0sfr2bhap3j-ghc-8.4.4-x86_64-deb8-linux.tar....
user avatar
  • 677
7 votes
1 answer
326 views

Problem when starting a nix-shell in the plututs repo [duplicate]

I was doing the plutus pioneer program and ran into an error when starting a nix-shell at the top-level directory of the plutus-repository. I ran into the same error on Ubuntu 20.04.2 LTS (GNU/Linux ...
user avatar
  • 150