gnu: erlang: Add chunks compilation.

* gnu/packages/erlang.scm (erlang): Add chunks compilation.

Change-Id: I81037864ac38f5a2a6cf8eac2fe0523e6500c78b
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Igor Goryachev via Guix-patches via 2024-06-13 09:17:56 +03:00 committed by Andrew Tropin
parent 70a316c884
commit 8690f678f3
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -181,7 +181,10 @@ (define-public erlang
(share (string-append out "/share/"))) (share (string-append out "/share/")))
(mkdir-p share) (mkdir-p share)
(with-directory-excursion share (with-directory-excursion share
(invoke "tar" "xvf" manpages)))))))) (invoke "tar" "xvf" manpages)))))
(add-after 'install-doc 'install-chunks
(lambda _
(invoke "make" "install-docs" "DOC_TARGETS=chunks"))))))
(home-page "https://www.erlang.org/") (home-page "https://www.erlang.org/")
(synopsis "The Erlang programming language") (synopsis "The Erlang programming language")
(description (description