-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perl: use pkgs.zlib instead of bundled zlib #167084
Conversation
@GrahamcOfBorg build perl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💯
@GrahamcOfBorg build pkgsCross.aarch64-multiplatform.perl534 |
For 21.11 I assume we'll wait for upstream to release versions with updated bundled zlib? I suspect that adding the external runtime dependency on zlib might be a bit intrusive for stable. |
Agree 👍 |
This appears to have broken pkgsStatic.perl. That's on me for not testing this at the time. I haven't looked into why it broke yet. |
Description of changes
perl currently contains it's own bundled zlib-1.2.11, which is vulnerable to CVE-2018-25032, and is used when building the core module
Compress::Raw::Zlib
.It is built by
perl
and is separate fromperlPackages.CompressRawZlib
.This PR patches perl to use
pkgs.zlib
instead when building this core module.pmqs/Compress-Raw-Zlib#6
Cc: @alyssais
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes