-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* summary * Update README.md Co-authored-by: Irakli Dautashvili <[email protected]> * Update docs/setup/CabalBuild.md Co-authored-by: Irakli Dautashvili <[email protected]> Co-authored-by: Irakli Dautashvili <[email protected]>
- Loading branch information
1 parent
e48e2bd
commit 30799d7
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
# Using Cabal Build | ||
|
||
### Do NOT waste time building Cabal locally. It's provided in Nix. | ||
|
||
_**Note:**_ | ||
**The setup assumes that you are running this from an already configured Nix-Shell, look at the [other guides](http://docs.plutus-community.com/) to set this up.** | ||
|
||
## Installation | ||
|
||
Let's say that I have done a git clone on 2 repositories. | ||
|
||
1. [Plutus](https://github.com/input-output-hk/plutus) | ||
2. [Plutus-Pioneer-Program](https://github.com/input-output-hk/plutus-pioneer-program) | ||
|
||
Both of them, I have decided to put in ```/opt/``` for the example. | ||
|
||
```ssh | ||
cd /opt/plutus | ||
nix-shell | ||
``` | ||
|
||
## From Nix-Shell | ||
```ssh | ||
cd /opt/plutus-pioneer-program/code/week1/ | ||
cabal update | ||
cabal build | ||
``` |