forked from mirrors/nixpkgs
check_ssl_cert: update non-determinism patch
This commit is contained in:
parent
3c33db1e2c
commit
532c8f954c
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, file, openssl, makeWrapper, which, curl }:
|
||||
{ stdenv, fetchFromGitHub, file, openssl, makeWrapper, which, curl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "check_ssl_cert-${version}";
|
||||
|
@ -11,10 +11,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1jkwii45hynil1jail9gmz4bak066rdi8zfcczicjsa6npbz50w4";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace 'YEAR=`date +"%Y"`' 'YEAR=2018'
|
||||
'';
|
||||
patches = [
|
||||
# https://github.com/matteocorti/check_ssl_cert/pull/114
|
||||
(fetchpatch {
|
||||
url = "https://github.com/matteocorti/check_ssl_cert/commit/2b7aad583d507a70605dd44d918739a65b267bfd.patch";
|
||||
sha256 = "1jk872jgm6k3qc1ks1h3v6p804spjlnxcj2wc8v0hkmwfwiwd2k4";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue