From a2605322c6211c2bdccd742827902de57b8e2c6f Mon Sep 17 00:00:00 2001 From: Volth Date: Thu, 22 Jun 2017 19:16:19 +0000 Subject: [PATCH] fixed regexp, it did not match the last block --- pkgs/applications/editors/jetbrains/update.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/jetbrains/update.pl b/pkgs/applications/editors/jetbrains/update.pl index 62943787111..fecdeb0cae8 100755 --- a/pkgs/applications/editors/jetbrains/update.pl +++ b/pkgs/applications/editors/jetbrains/update.pl @@ -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;