From b1b639747001b7d1a911365a539dfd92285f4347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac=20Jacqu=C3=A9?= Date: Thu, 19 Dec 2019 10:30:48 +0100 Subject: [PATCH] Document sha256 annotations for cabalProject in README Fixes #370 --- README.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.org b/README.org index 3c9bd2025b..773369354c 100644 --- a/README.org +++ b/README.org @@ -29,6 +29,19 @@ For =cabal.project= project add a =default.nix=: } #+end_src +Note that you'll need to add a comment specifying the expected sha256 +output for your =source-repository-packages= in your =cabal.project= +file: + +#+begin_src sh +source-repository-package + type: git + location: https://github.com/input-output-hk/iohk-monitoring-framework + subdir: plugins/backend-editor + tag: 4956b32f039579a0e7e4fd10793f65b4c77d9044 + --sha256: 03lyb2m4i6p7rpjqarnhsx21nx48fwk6rzsrx15k6274a4bv0pix +#+end_src + For a =stack.yaml= project add a =default.nix=: #+begin_src sh