guix-patches
[Top][All Lists]
Advanced

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

[bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter


From: pukkamustard
Subject: [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter.
Date: Wed, 4 Aug 2021 08:04:23 +0000

Hi,

This adds a profile parameter to the dune-build-system and sets it to "release" 
by default.

The exact effects of the "release" profile are not clearly documented in dune 
[1]. But it seems to be the default when installing packages with OPAM [2]. I 
think it should also be the default in Guix.

Some OCaml packages had set the profile to "release" manually by specifiying it 
in the build flags. This has been removed.

This patch will probably require a rebuild of almost all OCaml packages.

A second patch is attached that removes unnecessary arguments from the 
ocaml4.07-base packages. This is a more intrusive change to the package, so 
I've kept it in a separate commit.

-pukkamustard

[1] https://github.com/ocaml/dune/issues/3359
[2] 
https://dune.readthedocs.io/en/stable/faq.html#how-to-make-warnings-non-fatal

pukkamustard (2):
  guix: dune-build-system: Add a profile parameter.
  gnu: ocaml4.07-base: Remove unnecessary arguments.

 doc/guix.texi                    |  7 +++++++
 gnu/packages/ocaml.scm           | 27 ++++++---------------------
 guix/build-system/dune.scm       |  3 +++
 guix/build/dune-build-system.scm |  8 ++++++--
 4 files changed, 22 insertions(+), 23 deletions(-)

-- 
2.32.0






reply via email to

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