libssh2: fix broken patch hash
Patches from direct URLs on github are not stable (comment headers change w/ server settings), hence why we usually use `fetchpatch`. In lieu of that, vendor the unstable patch.
This commit is contained in:
committed by
Frederik Rietdijk
parent
d89c58a012
commit
62ee86086c
@@ -15,12 +15,8 @@ stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
|
||||
|
||||
patches = [
|
||||
# not able to use fetchpatch here: infinite recursion
|
||||
(fetchurl {
|
||||
name = "CVE-2019-17498.patch";
|
||||
url = "https://github.com/libssh2/libssh2/pull/402.patch";
|
||||
sha256 = "1n9s2mcz5dkw0xpm3c5x4hzj8bar4i6z0pr1rmqjplhfg888vdvc";
|
||||
})
|
||||
# Not able to use fetchpatch here: infinite recursion
|
||||
./CVE-2019-17498.patch
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user