invidious: update pcre to pcre2

PCRE must be present to run:
```
crystal run scripts/fetch-player-dependencies.cr -- --minified
```

Otherwise this step will fail during build with a linker error.
```
/nix/store/8lkj89binl0xhraqxb8bwmv0q4p3pnlr-binutils-2.46/bin/ld.bfd: cannot find -lpcre (this usually means you need to install the development package for libpcre): No such file or directory
collect2: error: ld returned 1 exit status
```
This commit is contained in:
fliiiix
2026-08-16 12:41:23 +02:00
parent f4268250d6
commit 83eef2e607

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl crystal crystal2nix jq git moreutils nix nurl pkg-config pcre gnugrep
#!nix-shell -i bash -p curl crystal crystal2nix jq git moreutils nix nurl pkg-config pcre2 gnugrep
git_url='https://github.com/iv-org/invidious.git'
git_branch='master'
git_dir='/var/tmp/invidious.git'