libagent: hardcode the path gpg-connect-agent

This commit is contained in:
Wael M. Nasreddine
2023-03-02 19:51:35 -08:00
parent a6e3530872
commit 9d083587ee
@@ -34,7 +34,8 @@ buildPythonPackage rec {
# hardcode the path to gpgconf in the libagent library
postPatch = ''
substituteInPlace libagent/gpg/keyring.py \
--replace "util.which('gpgconf')" "'${gnupg}/bin/gpgconf'"
--replace "util.which('gpgconf')" "'${gnupg}/bin/gpgconf'" \
--replace "'gpg-connect-agent'" "'${gnupg}/bin/gpg-connect-agent'"
'';
propagatedBuildInputs = [