[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: |
Tue, 07 Sep 2021 09:33:39 +0000 |
I suggest reverting commit 33a1ec29fa0ad72c61cef13c8af08c847eb399c1
('guix: dune-build-system: Add a profile parameter.') and instead
applying attached patch.
The attached patch sets the '--release' flag instead of '--profile
release'. From 'dune --help':
--8<---------------cut here---------------start------------->8---
--release
Put dune into a reproducible release mode. This is in fact a
shorthand for --root . --ignore-promoted-rules --no-config
--profile release --always-show-command-line
--promote-install-files --default-target @install. You should use
this option for release builds. For instance, you must use this
option in your <package>.opam files. Except if you already use -p,
as -p implies this option.
--8<---------------cut here---------------end--------------->8---
I think this is what we want.
Setting '--profile release' was not enough and was causing
inconsistencies with packages that were building with the '-p' flag.
-pukkamustard
0001-guix-dune-build-system-Put-dune-into-a-reproducible-.patch
Description: Text Data
pukkamustard <pukkamustard@posteo.net> writes:
> I submitted #50180 to fix builds of ocaml-ppx-hash.
>
> The impact of this seems to be smaller than I feared. Maybe reverting is not
> necessary.
>
> Still I don't really understand what's going on. I will try and find a
> concise example and ask the Dune people.
>
> pukkamustard <pukkamustard@posteo.net> writes:
>
>> pukkamustard <pukkamustard@posteo.net> writes:
>>
>>> For example ocaml-ppxlib builds properly but seems to be broken. Anything
>>> depending on ocaml-ppxlib fails with the errors:
>>
>> This is not true. ocaml-ppx-hash fails to build. But other things depending
>> on ocaml-ppxlib seem to build fine (e.g. ocaml-ppx-optional,
>> ocaml-ppx-assert).
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter.,
pukkamustard <=
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., Julien Lepiller, 2021/09/07
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., pukkamustard, 2021/09/07
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., Julien Lepiller, 2021/09/07
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., pukkamustard, 2021/09/07
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., Julien Lepiller, 2021/09/07
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., pukkamustard, 2021/09/08
- [bug#49868] [PATCH 0/2] guix: dune-build-system: Add a profile parameter., Julien Lepiller, 2021/09/08