Questions tagged [cabal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
67 views

Plutus starter cabal build issue

Running the instructions at https://github.com/input-output-hk/plutus-starter#readme After opening the container in VSCode, and attempting to run the following in the terminal. [devcontainer]$ cabal ...
0
votes
2answers
43 views

Impossible to install ghc 8.10.4

with cabal build all, i receive the message below [13 of 14] Compiling Generics.SOP.Instances ( src/Generics/SOP/Instances.hs, dist/build/Generics/SOP/Instances.o, dist/build/Generics/SOP/Instances....
0
votes
2answers
30 views

Cabal repl is very slow

I've already setup the IOHK binary cache in /etc/nix/nix.conf, yet when I build PPP lecture #2 I have to build many modules. whereas it seems Lars only has to process one. Does anyone know why this ...
1
vote
1answer
24 views

Parse error on input ']' when running cabal build in my Plutus code

I have a code that compiles and runs well in the Plutus playground, but when I try to run cabal build I get an error when calling mkTypedValidator: offerValidator :: Scripts.TypedValidator Offer ...
1
vote
2answers
109 views

How to solve "cabal: Could not resolve dependencies" when building cardano-cli cardano-node

I'm a newbie to Cardano. I'm trying to set up a stake pool as this link explained. https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node I stuck with cabal build ...
1
vote
2answers
72 views

Cabal build Caradano-cli Cardano-node error

I'm trying to create a Cardano staking pool on a raspberry pi 4 with 8GB of RAM. I've been following the coin cashew tutorial for staking pools: https://www.coincashew.com/coins/overview-ada/guide-how-...
3
votes
2answers
131 views

missing node.socket

so I synced towards Alonzo mainnet with cabal build and interrupted at 92% and somehow ~/cardano/db/node.socket is missing. And no matter how many times I restart the node with cardano-node run \ --...
0
votes
0answers
43 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-...
2
votes
2answers
153 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 ...
1
vote
1answer
48 views

illegal symbol `forall` in type, RankNTypes

I am trying to build Future.hs from plutus-use-case from scratch. I take two files from plutus-starter: cabal.project as is, and plutus-starter.cabal that I have to edit according to the imports in ...
8
votes
1answer
141 views

plutus starter course

So I am trying to start a plutus project from scratch, as we are always just editing the .hs source files in the plutus pioneering program homeworks, wondering what are the bare necessary files needed ...
6
votes
2answers
63 views

Failed to build eventful-sql-common-0.2.0

For lecture 10 of plutus pioneering program, we had to run cabal run uniswap-pab to create the contract IDs. I got this - plutus-pioneer-program-week10-0.1.0.0 (exe:uniswap-pab) (first run) Starting ...
8
votes
3answers
293 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 ...
8
votes
1answer
56 views

How to get intellisense/auto suggestion working for Plutus in VSCode?

I've been seeing Lars get auto suggestions from his terminal when he's typing. I want the same in VSCode, how to get it? PS: I don't get auto suggestions in cabal repl too.
14
votes
1answer
296 views

How do I build a debug configuration of a Plutus project?

When I try to set a breakpoint in a small Plutus project such as this, I always get the following error: :b Week05.Homework1.mkPolicy cannot set breakpoint on Week05.Homework1.mkPolicy: module Week05....
7
votes
1answer
121 views

Plutus Pioneer Program - Lecture #1 Problem with cabal build

I ran into this dependencies error on Ubuntu when I try to build the English Auction, does anyone have an idea how to solve it ? Please switch to using either the new project style and the new-build ...