mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
hydra_unstable: Fix CVE-2024-45049
This commit is contained in:
parent
3745928ba9
commit
422d214c14
@ -1,5 +1,6 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchpatch2
|
||||
, nix
|
||||
, perlPackages
|
||||
, buildEnv
|
||||
@ -132,6 +133,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-NzsqjLSobba4BJ5FS3vccC9rAH0OE9XI97geGj0KHts=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/NixOS/hydra/commit/916531dc9ccee52e6dab256232933fcf6d198158.patch";
|
||||
hash = "sha256-JOtlYr+K934UIqHvfLMd/jfRRU+Tci0kvtyhOvlwxEs=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "CVE-2024-45049.patch";
|
||||
url = "https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5.patch";
|
||||
hash = "sha256-IS6GCuRLW+ULDD7udpGX2tO85bV2gGOX6DLLw3NTkJU=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
unzip
|
||||
libpqxx
|
||||
|
Loading…
Reference in New Issue
Block a user