Files
nixpkgs/pkgs/by-name/bu/build2/remove-config-store-paths.patch
Ryan Burns 06746a162b build2 packages: 0.17 -> 0.18
These packages are all highly interdependent and have to be updated in
lockstep, so I'm just doing it all in one commit - there's no benefit to
having cherry-pickable commits as they wouldn't work individually.
2026-06-30 13:15:41 -07:00

15 lines
802 B
Diff

--- a/libbuild2/buildfile
+++ b/libbuild2/buildfile
@@ -109,8 +109,11 @@ host_config_no_warnings_lines = [strings]
build2_config_no_warnings_lines = [strings]
for l: $regex.replace_lines( \
+ $regex.replace_lines( \
$config.save(), \
'^( *(#|(config\.(build2\.|test[. ]|dist\.|install\.chroot|config\.hermetic))).*|)$', \
+ [null], return_lines), \
+ '^.*'$getenv(NIX_STORE)'/[a-z0-9]{32}-.*$', \
[null])
{
if ($defined(config.build2.host_c) && $regex.match($l, ' *config\.c[ =].*'))