You know how it's really cumbersome to provide patch files for derivations in nixpkgs? I thought I could do something with islands where when in the LSP, the action menu (of the island) has the option "Patch island" which preemptively clones it (or maybe lazily clones it, anything is possible with FUSE) and sends you to that directory. And when you save your changes in there and open the action menu (while on the files in the island) and select "Save patches", it edits your code so that it turns into:
patch <github:cull-os/cab> ./promptedname.patch
I think this would be really neat for quick patching of software
And when you bump a git island and try to edit it, it would query saved edits' remotes to see if it could just pull instead of cloning the whole thing again.
Last updated: Nov 15 2024 at 11:45 UTC