El 2025-12-26 15:49, Jakob Kirsch escribió:
Hello everyone,
I have a rather simple but pretty useful proposal.
I propose to add a patches field to the channel record that takes a list of 
patches to be applied on top of the channel's checkout.
From what I can see, the general infrastructure to apply patches exists already 
as it's used for the (guix quirks) module.

I've had many situations where I had an open merge request for upstream Guix or 
some other channel and wanted to use it already.
While I could just rebase my patch onto the HEAD manually and then pull from my local 
checkout, it would be easier and cleaner to be able to specify a list of patches (e.g. a 
list of store items or local file paths) that are then applied since this automatically 
"rebases" them on top of the HEAD.

I'm happy to hear your thoughts on this.

I think this will be amazing when wanting to use a guix fork (guix pristine + patches) without having to disable authentication of commits. For locally updating some packages while waiting for them to be committed to guix repository, this could be a great alternative where simple package/inherit wouldn't suffice or is way too complex (akin to copying the whole package locally).

Thanks!
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
             | GPG: 01DE 145E 35D8 C87E 956E  FEC9 D4C4 4BDA 2C98 C654

"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)

Attachment: signature.asc
Description: PGP signature

Reply via email to