Post B658cegzyemlq4o9C4 by civodul@toot.aquilenet.fr
(DIR) More posts by civodul@toot.aquilenet.fr
(DIR) Post #B658cegzyemlq4o9C4 by civodul@toot.aquilenet.fr
0 likes, 0 repeats
Thanks to Nicolas Graves, ‘guix style’ just got new styling rules: ‘remove-input’ and friends 👇https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-style.htmlIt’s turning into a pretty nice refactoring tool!#Guix
(DIR) Post #B658pQ8fOnuqSwpudc by civodul@toot.aquilenet.fr
0 likes, 0 repeats
What’s nice with ‘guix style’ is that it correlates source with the evaluation result of that source, which allows for accurate and quite elaborate source-level changes.It can very much serve as the basis of a form of “semantic patches”.
(DIR) Post #B661yaajOtvOyALdh2 by sharlatan@mastodon.social
0 likes, 0 repeats
@civodul I utilise `guix style -S git-source ` a lot the more real sources based packages the better less pre built archives
(DIR) Post #B67h1XuM7nDwnJ12KO by kirtai@tech.lgbt
0 likes, 0 repeats
@civodul Oooh, could this possibly do syntax upgrades when Guix adds new features or depreciates others?iirc, go lang has something like this.
(DIR) Post #B67h1Y6POyrhOgef7A by civodul@toot.aquilenet.fr
0 likes, 0 repeats
@kirtai It does that, but currently only for packager needs.Would be nice to have it patch things like references to deprecated procedures in general.