GNU bug report logs - #69682
Opam should be using a minimal version of extlib

Previous Next

Package: guix;

Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>

Date: Sat, 9 Mar 2024 19:47:02 UTC

Severity: normal

Full log


Message #14 received at 69682 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, 69682 <at> debbugs.gnu.org
Cc: pukkamustard <at> posteo.net
Subject: Re: [PATCH 1/1] gnu: ocaml-extlib: Build with minimal=1.
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 <vivien <at> planete-kraus.eu> 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")




This bug report was last modified 1 year and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.