Subject: Re: bug#58591: Java packages do not appear to keep a reference to their inputs

From: Mark H Weaver <[email-masked]>
Date: Mon, 17 Oct 2022 21:43:28 -0400

Julien Lepiller <[email-masked]> writes:

> You're right, java package don't retain references to there input,
> that's why we propagate required dependencies (mh… sometimes). I don't
> know how they could reference dependencies directly.

A better workaround would be to add a phase that installs file(s) in the
output(s) that contain references to the required store items.  They
could simply be text files with one line per reference.  That would at
least protect the dependencies from the garbage collector.

The remaining unsolved problem is, of course, grafting.

       Mark

-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>.