on iko/ghcjs-patch-master help sign in
Document sha256 annotations for cabalProject in README (#373)
fc68752Félix Baylac-Jacqué
@@ -29,6 +29,19 @@ For =cabal.project= project add a =default.nix=:
29 }
29 }
30#+end_src
30#+end_src
31
31
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+
32For a =stack.yaml= project add a =default.nix=:
45For a =stack.yaml= project add a =default.nix=:
33
46
34#+begin_src sh
47#+begin_src sh