diff options
author | Volth <volth@webmaster.ms> | 2017-06-22 19:16:19 +0000 |
---|---|---|
committer | Volth <volth@webmaster.ms> | 2017-06-22 19:16:19 +0000 |
commit | a2605322c6211c2bdccd742827902de57b8e2c6f (patch) | |
tree | 2afb0f9a9d98017231c7cb21c3484a88c351f161 /pkgs/applications/editors/jetbrains/update.pl | |
parent | 7fa29f39d199553bd32b7514fe1f5441a20954de (diff) | |
download | nixpkgs-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-x | pkgs/applications/editors/jetbrains/update.pl | 2 |
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; |