GNU bug report logs - #47768
[PATCH 00/37] Assorted OCaml patches

Previous Next

Package: guix-patches;

Reported by: pukkamustard <pukkamustard <at> posteo.net>

Date: Wed, 14 Apr 2021 09:10:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: pukkamustard <pukkamustard <at> posteo.net>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 47768 <at> debbugs.gnu.org
Subject: [bug#47768] [PATCH 04/37] gnu: ocaml-lwt: Make libev a propagated input.
Date: Tue, 20 Apr 2021 05:54:56 +0000
Hi Maxime,

Thanks for your review!

Maxime Devos <maximedevos <at> telenet.be> writes:

> On Wed, 2021-04-14 at 11:12 +0200, pukkamustard wrote:
>> * gnu/packages/ocaml.scm (ocaml-lwt) [propagated-inputs]: Add 
>> libev.
>>   [inputs]: Remove libev.
>>   (ocaml-ouint2, ocaml4.07-lambda-term, ocaml-markup) [inputs]: 
>>   Remove libev.
>> ---
>
> What's the reason libev has been moved from inputs to 
> propagated-inputs?
>

As far as I understand libev is a runtime/build time dependency of 
lwt.

Before this patch it was necessary for packages using lwt to also 
add
libev as input (e.g. ocaml4.07-lambda-term or ocaml-markup). This 
was
even worse when using lwt indirectly (e.g. by including 
ocaml-markup
somewhere): build would fail but it was not clear what needs to be 
done
as lwt was not directly included as input (but as propagated-input 
of
ocaml-markup).

Adding libev as propagate-input makes packages using lwt "just 
work".

-pukkamustard




This bug report was last modified 3 years and 344 days ago.

Previous Next


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