3
0
Fork 0
forked from mirrors/nixpkgs

git-crypt: fix build with openssl_3

This commit is contained in:
ajs124 2022-07-31 23:45:34 +02:00
parent ad76e3dd39
commit 9c8e33f2ce

View file

@ -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 ]}