Post B5YYWaiK2icCLzWCVU by futurile@mastodon.social
(DIR) More posts by futurile@mastodon.social
(DIR) Post #B5YYWaiK2icCLzWCVU by futurile@mastodon.social
0 likes, 1 repeats
New post on altering the source of #guix packages using the substitute* procedure. It searches through files using a #guile regular expression and replaces it with the specified text. This is the most common change that packages make - substitute* is used 9500 times!Common uses are altering test requirements, or slackening library dependencies. https://www.futurile.net/2026/04/18/guix-package-source-alterations-using-substitute/Post covers the procedures uses, and then a tour through different examples from the Guix archive!
(DIR) Post #B5YYpoCI8VG7fphS4W by civodul@toot.aquilenet.fr
0 likes, 0 repeats
@futurile Nice and useful series of posts!Related links:https://guix.gnu.org/manual/devel/en/html_node/Build-Utilities.html#index-substitute_002ahttps://guix.gnu.org/manual/devel/en/html_node/Build-Utilities.html#index-search_002dinput_002dfile