10ff832c4f
fixes: clang: error: no such file or directory: '/usr/local/lib/libpng16.a' on sandboxed darwin boxes 1. mozjpeg hasn't been updated since 2021. The newest commit from 2023 fixes the build on darwin but no new release was put forward (see imagemin/mozjpeg-bin#64 and imagemin/mozjpeg-bin#81) 2. This prompts to manually patching the yarn.lock file 3. Which also needs to split the yarnConfigHook logic and duplicate it in parts in the derivation The benefit is to be able to build pgadmin on aarch64-darwin without network. Signed-off-by: Florian Brandes <florian.brandes@posteo.de>