summary refs log tree commit diff
path: root/pkgs/applications/editors/jetbrains/update.pl
diff options
context:
space:
mode:
authorVolth <volth@webmaster.ms>2017-06-22 19:16:19 +0000
committerVolth <volth@webmaster.ms>2017-06-22 19:16:19 +0000
commita2605322c6211c2bdccd742827902de57b8e2c6f (patch)
tree2afb0f9a9d98017231c7cb21c3484a88c351f161 /pkgs/applications/editors/jetbrains/update.pl
parent7fa29f39d199553bd32b7514fe1f5441a20954de (diff)
downloadnixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.tar
nixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.tar.gz
nixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.tar.bz2
nixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.tar.lz
nixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.tar.xz
nixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.tar.zst
nixpkgs-a2605322c6211c2bdccd742827902de57b8e2c6f.zip
fixed regexp, it did not match the last block
Diffstat (limited to 'pkgs/applications/editors/jetbrains/update.pl')
-rwxr-xr-xpkgs/applications/editors/jetbrains/update.pl2
1 files changed, 1 insertions, 1 deletions
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;