on iko/ghcjs-patch-master help sign in
Document sha256 annotations for cabalProject in README (#373)

Fixes #370

commitfc68752997db3eeb0962df897421de35a6a09f34 authorFélix Baylac-Jacqué <NinjaTrappeur@users.noreply.github.com> dateFri 20 Dec 2019, 01:09 (7 years ago) parent3539b25
1 file changed+13
README.org+13
README.org+13
@@ -29,6 +29,19 @@ For =cabal.project= project add a =default.nix=:
2929 }
3030#+end_src
3131
32+Note that you'll need to add a comment specifying the expected sha256
33+output for your =source-repository-packages= in your =cabal.project=
34+file:
35+
36+#+begin_src sh
37+source-repository-package
38+ type: git
39+ location: https://github.com/input-output-hk/iohk-monitoring-framework
40+ subdir: plugins/backend-editor
41+ tag: 4956b32f039579a0e7e4fd10793f65b4c77d9044
42+ --sha256: 03lyb2m4i6p7rpjqarnhsx21nx48fwk6rzsrx15k6274a4bv0pix
43+#+end_src
44+
3245For a =stack.yaml= project add a =default.nix=:
3346
3447#+begin_src sh