forked from mirrors/nixpkgs
git-crypt: fix build with openssl_3
This commit is contained in:
parent
ad76e3dd39
commit
9c8e33f2ce
|
@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
|
|||
"DOCBOOK_XSL=${docbook_xsl}/share/xml/docbook-xsl-nons/manpages/docbook.xsl"
|
||||
];
|
||||
|
||||
# https://github.com/AGWA/git-crypt/issues/232
|
||||
CXXFLAGS = [
|
||||
"-DOPENSSL_API_COMPAT=0x30000000L"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/git-crypt \
|
||||
--suffix PATH : ${lib.makeBinPath [ git gnupg ]}
|
||||
|
|
Loading…
Reference in a new issue