gnu: ocaml-ctypes: do not override install headers

Overriding INSTALL_HEADERS in the build prevents the "ocaml_integers.h"
header from being copied from the ocaml-integers package to ocaml-ctypes.
The header's absence breaks all dune-based projects which build cstubs
using the new (ctypes ...) stanza.

* gnu/packages/ocaml.scm (ocaml-ctypes)[arguments]: remove
INSTALL_HEADERS override.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
David Arroyo 2022-05-29 16:42:34 -04:00 committed by Julien Lepiller
parent b96003cd69
commit 21800bf8b9
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82

@ -4333,9 +4333,7 @@ long and size_t whose sizes depend on the host platform.")
"0ilzq9qzvwv9rc08cc9wchsx636zp870i7qvqmbigaa2qb812m0z"))))
(build-system ocaml-build-system)
(arguments
`(#:make-flags
(list (string-append "INSTALL_HEADERS = $(wildcard $($(PROJECT).dir)/*.h)"))
#:phases
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-writable
(lambda _