Subject: bug#69682: [PATCH 1/1] gnu: ocaml-extlib: Build with minimal=1.

From: Julien Lepiller <[email-masked]>
Date: Sat, 09 Mar 2024 22:37:24 +0100

Ah, you sent this while I was writing to the other bug. Would it be possible to convert the recipe to use the dune-build-system instead? It sounds like it would be more future-proof, and it's also prefered by opam people.

Le 9 mars 2024 22:03:15 GMT+01:00, Vivien Kraus <[email-masked]> a écrit :
>* gnu/packages/ocaml.scm (ocaml-extlib) [arguments]: Convert to list of
>G-Expressions.  Add #:make-flags.
>
>Change-Id: I42ee3c21a52788f20ddc3381927ef6ef40b2a354
>---
> gnu/packages/ocaml.scm | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
>diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
>index 0f4c351141..b911da8e5b 100644
>--- a/gnu/packages/ocaml.scm
>+++ b/gnu/packages/ocaml.scm
>@@ -646,9 +646,11 @@ (define-public ocaml-extlib
>                 "1jydzw2n84cfiz9y6lk4gih4wbr8jybanmiryfs01svd07g4vpjq"))))
>     (build-system ocaml-build-system)
>     (arguments
>-     `(#:phases
>-       (modify-phases %standard-phases
>-         (delete 'configure))))
>+     (list
>+      #:make-flags #~'("minimal=1")
>+      #:phases
>+      #~(modify-phases %standard-phases
>+          (delete 'configure))))
>     (native-inputs
>       (list ocaml-cppo))
>     (home-page "https://github.com/ygrek/ocaml-extlib")