File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 3
3
4
4
# This file needs to become empty.
5
5
self : super : rec {
6
- # For some reason octez-protocol-compiler wants some docs to be present in octez- libs
6
+ # For some reason octez-protocol-compiler wants some docs to be present in octez libs
7
7
octez-libs = super . octez-libs . overrideAttrs ( o : {
8
8
postFixup = ''
9
9
DUMMY_DOCS_DIR="$OCAMLFIND_DESTDIR/../doc/${ o . pname } "
@@ -19,6 +19,21 @@ self: super: rec {
19
19
done
20
20
'' ;
21
21
} ) ;
22
+ octez-proto-libs = super . octez-proto-libs . overrideAttrs ( o : {
23
+ postFixup = ''
24
+ DUMMY_DOCS_DIR="$OCAMLFIND_DESTDIR/../doc/${ o . pname } "
25
+ mkdir -p "$DUMMY_DOCS_DIR"
26
+ for doc in "README.md" "CHANGES.rst" "LICENSE"; do
27
+ touch "$DUMMY_DOCS_DIR/$doc"
28
+ done
29
+
30
+ DUMMY_ODOC_PAGES_DIR="$DUMMY_DOCS_DIR/odoc-pages"
31
+ mkdir -p "$DUMMY_ODOC_PAGES_DIR"
32
+ for doc in "tezos_workers.mld" "tezos_lwt_result_stdlib.mld" "index.mld"; do
33
+ touch "$DUMMY_ODOC_PAGES_DIR/$doc"
34
+ done
35
+ '' ;
36
+ } ) ;
22
37
octez-admin-client = super . octez-client . overrideAttrs ( _ : {
23
38
name = "octez-admin-client" ;
24
39
postInstall = "rm $out/bin/octez-client $out/bin/*.sh" ;
You can’t perform that action at this time.
0 commit comments