nixpkgs/pkgs
Thiago Kenji Okada b2f19ab3b5 graalvmXX-ce: use a patched version of zlib
The previous releases of zlib were not sensitive to incorrect CRC
inputs with bits set above the low 32. Some programs were depended on
this behavior, including GraalVM. So this commit backports a patch from
`zlib` develop that brings back the old behavior. This will probably
be included in the next release of zlib.

Before:

```
$ rm -rf ~/.babashka
$ bb -e "(babashka.pods/load-pod 'clj-kondo/clj-kondo \"2022.05.31\")"
Downloading pod clj-kondo/clj-kondo (2022.05.31)
----- Error --------------------------------------------------------------------
Type:     java.util.zip.ZipException
Message:  invalid entry CRC (expected 0x269cdf2c but got 0x13b86fd8)
Location: <expr>:1:1

----- Context ------------------------------------------------------------------
1: (babashka.pods/load-pod 'clj-kondo/clj-kondo "2022.05.31")
   ^--- invalid entry CRC (expected 0x269cdf2c but got 0x13b86fd8)

----- Stack trace --------------------------------------------------------------
babashka.pods.impl.resolver/unzip             - <built-in>
babashka.pods.impl.resolver/resolve/fn--30674 - <built-in>
clojure.core/mapv/fn--8535                    - <built-in>
clojure.core.protocols/fn--8244               - <built-in>
clojure.core.protocols/fn--8204/G--8199--8213 - <built-in>
... (run with --debug to see elided elements)
babashka.pods.sci/load-pod/fn--30887          - <built-in>
babashka.pods.sci/load-pod                    - <built-in>
clojure.core/apply                            - <built-in>
babashka.impl.pods/load-pod                   - <built-in>
user                                          - <expr>:1:1
```

After:

```
$ rm -rf ~/.babashka
$ ./result/bin/bb -e "(babashka.pods/load-pod 'clj-kondo/clj-kondo \"2022.05.31\")"
Downloading pod clj-kondo/clj-kondo (2022.05.31)
Successfully installed pod clj-kondo/clj-kondo (2022.05.31)
```

The issue should affect other programs using GraalVM, but this was the
test that I had at hand.
2022-06-16 11:27:34 +01:00
..
applications Merge pull request #177799 from squalus/git-lfs-cross 2022-06-16 00:11:02 -05:00
build-support fetchYarnDeps: support hash in pkg.integrity (#177255) 2022-06-15 20:13:41 +02:00
common-updater
data unifont_upper: 14.0.03 -> 14.0.04 2022-06-16 00:51:00 +02:00
desktops Merge pull request #177710 from bobby285271/pantheon 2022-06-16 13:08:58 +08:00
development graalvmXX-ce: use a patched version of zlib 2022-06-16 11:27:34 +01:00
games Merge pull request #177222 from cmm/freeciv-3.0.1 2022-06-15 20:31:46 +02:00
misc Merge pull request #177424 from lopsided98/arm-trusted-firmware-update 2022-06-16 00:14:32 -05:00
os-specific Merge pull request #177548 from fabaff/checksec-bump 2022-06-14 08:40:19 +02:00
pkgs-lib
servers dnsdist: 1.7.1 -> 1.7.2 2022-06-15 18:03:11 +02:00
shells oh-my-zsh: 2022-06-06 -> 2022-06-12 (#177485) 2022-06-13 07:33:29 -04:00
stdenv stdenv/check-meta: support NIXPKGS_ALLOW_NONSOURCE=0 2022-06-13 19:08:17 +00:00
test vimUtils: deprecate configure.pathogen (#154814) 2022-06-13 15:25:46 +02:00
tools Merge pull request #177687 from fabaff/graphqlmap 2022-06-16 08:39:22 +02:00
top-level Merge pull request #177687 from fabaff/graphqlmap 2022-06-16 08:39:22 +02:00