On Thu, Feb 27, 2025 at 01:40:17PM +0800, Hilton Chain wrote:
> On Thu, 27 Feb 2025 06:38:01 +0800,
> Nicolas Graves wrote:
> >
> > On 2025-02-26 15:45, Murilo wrote:
> >
> > Great!
> >
> > WDYT about the following :
> >
> > 1) What should we do about unbundling, in particular -sys libraries ?
> > (Should that be done in the importer, the build-system or written in Guix ?)
> 
> Depending on what's currently done.
> 
> We can patch individual crates first and integrate change into the build 
> system
> when there's a pattern.

In general once a crate moves to the next semver they stop updating the
previous version(s).  Some of these, especially ones where we have to
unbundle libraries, would be good candidates for having a generic
version that could be shared between some of the modules.  I think if we
just searched for packages ending in -sys or -src we would catch
probably all of them, and then we could just emit a comment that the
package should be checked for bundled sources.

We do have some things set in the build system.  There's a whole
collection of environment variables we set to prefer system libraries.

> > 2) That still makes a lot of lines for recording triplets of
> > (name, version, checksum)
> > A procedure or macro could help IMO. If we're going to change a checksum
> > along with a checksum on most upgrades, a single line change should be
> > enough.
> 
> This can be done when we have decided to switch to this model.
> 
> > A fun fact is that after that change, we probably won't need a rust-team
> > branch, except for upgrades to the build-system itself ;)

There are worse things in the world :)  We might be able to ride along
with another update like mesa.

-- 
Efraim Flashner   <efr...@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature

Reply via email to