me
/
guix
Archived
1
0
Fork 0

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>
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
1 changed files with 1 additions and 3 deletions

View File

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