fixed regexp, it did not match the last block
This commit is contained in:
parent
7fa29f39d1
commit
a2605322c6
@ -70,5 +70,5 @@ sub update_nix_block {
|
||||
}
|
||||
|
||||
my $nix = read_file 'default.nix';
|
||||
$nix =~ s/(= build\w+ rec \{.+?\};\n\n)/update_nix_block($1)/gse;
|
||||
$nix =~ s/(= build\w+ rec \{.+?\n \};\n)/update_nix_block($1)/gse;
|
||||
write_file 'default.nix', $nix;
|
||||
|
Loading…
Reference in New Issue
Block a user