guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: ocaml-ctypes: do not override install headers


From: guix-commits
Subject: 01/02: gnu: ocaml-ctypes: do not override install headers
Date: Thu, 2 Jun 2022 01:53:45 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 21800bf8b98871c99c0a91d97690be1df07a2659
Author: David Arroyo <david@aqwari.net>
AuthorDate: Sun May 29 16:42:34 2022 -0400

    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>
---
 gnu/packages/ocaml.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 79610e84bf..ec5757e87d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]