Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 158be95

Browse files
committed
Fix contributing
1 parent 6972eab commit 158be95

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@
88
- `nix/sources.json`
99
- `nix/pkgs/haskell/sha256map.nix`
1010
- `cabal.project`
11-
3. Copy over most of https://github.com/input-output-hk/plutus-apps/blob/main/cabal.project into `cabal.project`
12-
4. Copy over the `sha256map` values from https://github.com/input-output-hk/plutus-apps/blob/main/nix/pkgs/haskell/sha256map.nix into `nix/pkgs/haskell/sha256map.nix` (but leave the first line that you just changed in step 2). To get the right hash value for `plutus-apps`, change one digit, then run `nix-shell`. You will get an error that shows the correct hash.
13-
5. It’s likely that the code for the guessing game needs to be changed; luckily, you can copy the source from https://github.com/input-output-hk/plutus-apps/blob/main/plutus-playground-server/usecases/Game.hs roughly, and it should work.
11+
3. Copy over most of https://github.com/input-output-hk/plutus-apps/blob/main/cabal.project into
12+
`cabal.project`.
13+
4. Copy over the `sha256map` values from
14+
https://github.com/input-output-hk/plutus-apps/blob/main/nix/pkgs/haskell/sha256map.nix into
15+
`nix/pkgs/haskell/sha256map.nix` (but leave the first line that you just changed in step 2).
16+
To get the right hash value for `plutus-apps`, change one digit, then run `nix develop`.
17+
You will get an error that shows the correct hash.
18+
5. It’s likely that the code for the guessing game needs to be changed;
19+
the example is not sync with plutus-apps anymore, so it has to be fixed locally.
1420
6. Test the different parts:
1521
- VSCode
1622
* You need to make sure to rebuild the image

0 commit comments

Comments
 (0)